TheoryOfNekomata
e465109d74
Implement clearFormValues, improve test syntax
The clearFormValues method is implemented to be able to clear form
values for selected fields.
Tests are now separated from pre-submit to querying the submitter.
pirms 1 gada
TheoryOfNekomata
48b10cfea5
Add rationale information
Clarify some content in the rationale document.
pirms 1 gada
TheoryOfNekomata
9e891fde82
Add event-submitter-polyfill note
Safari does not support submitters on submit events. This may be needed
for checking which button was clicked to submit forms.
pirms 1 gada
TheoryOfNekomata
203f09d7cc
Update README links
Point to absolute paths.
pirms 1 gada
TheoryOfNekomata
eef3b80ccc
Update README
Align header to the center.
pirms 1 gada
TheoryOfNekomata
40f082d926
Update README
Include interactive code samples from Codepen.
pirms 1 gada
TheoryOfNekomata
a6bede536f
Bump version
For publishing.
pirms 1 gada
TheoryOfNekomata
95326f013e
Update README
Link LOGO directly to GitHub.
pirms 1 gada
TheoryOfNekomata
93fccb18f5
Update README
Make usage more understandable.
pirms 1 gada
TheoryOfNekomata
e8942296a2
Improve README
Add usage instructions.
pirms 1 gada
TheoryOfNekomata
8511d76949
Update README
Make information more presentable.
pirms 1 gada
TheoryOfNekomata
484fbb2b7e
Update documentation
Specify options to their respective input types.
pirms 1 gada
TheoryOfNekomata
26ec3a2f9c
Cover all input types
Include all input types for testing.
pirms 1 gada
TheoryOfNekomata
cb5872e28f
Implement edge cases for inputs
Add behavior for dirname, isindex, _charset_ scenarios.
pirms 1 gada
TheoryOfNekomata
1319146c72
Update tests
Improve test syntax.
pirms 1 gada
TheoryOfNekomata
7a2ea6b690
Minor refactor
Isolate generic input setting value to its own function.
pirms 1 gada
TheoryOfNekomata
5fa727bf45
Make coverage 100%
Include all tests for the primary functions as well as the utilities.
pirms 1 gada
TheoryOfNekomata
e793049356
Update supported input types
Make input type handling more comprehensive.
pirms 1 gada
TheoryOfNekomata
23433c32d4
Remove uncovered lines
Only keep lines that are testable.
pirms 1 gada
TheoryOfNekomata
2089f146ef
Update tests, fix multiple value setting
Make tests more comprehensive.
pirms 1 gada
TheoryOfNekomata
4c69db6c02
Add coverage reporting
Include coverage reporting on tests.
pirms 1 gada
TheoryOfNekomata
972a65271e
Add date tests, duplicates
Include tests for duplicate values, as well as comprehensive date tests.
pirms 1 gada
TheoryOfNekomata
1ae8e04f57
Update counting
Reduce complexity in code by un-nesting ternary statements.
pirms 1 gada
TheoryOfNekomata
48166877e4
Add support for multiple values
Correctly set fields when they are arrays.
pirms 1 gada
TheoryOfNekomata
103b9dda84
Update README
Make readme more concise.
pirms 1 gada
TheoryOfNekomata
53a8fa4767
Update tsdoc
Indicate partial values can be passed in setFormValues().
pirms 1 gada
TheoryOfNekomata
c908924fa5
Update npmignore
Add files from pridepack.
pirms 1 gada
TheoryOfNekomata
52088285d1
Update documentation
Add logo, and some documentation.
pirms 1 gada
TheoryOfNekomata
8126098986
Merge branch 'master' of code.modal.sh:TheoryOfNekomata/formxtra
pirms 1 gada
TheoryOfNekomata
fdcdf1ddf3
Refactor code
Make error messages more user-friendly. Also remove magic constants
within functions.
pirms 1 gada
TheoryOfNekomata
0fcde2ab61
Update tsconfig
Specify rootdir.
pirms 1 gada
TheoryOfNekomata
05499e5fdb
Update tests
Include month and week input types.
pirms 1 gada
TheoryOfNekomata
cc3aa1df91
Switch to pridepack, add setFormValues
Implement setFormValues for easy setting of fields.
Also migrated to pridepack because tsdx is already unmaintained.
pirms 1 gada
TheoryOfNekomata
8ca44c9c74
Update package
Proofread README.
pirms 3 gadiem
TheoryOfNekomata
96673bd709
Update package.json
pirms 3 gadiem
TheoryOfNekomata
9563565723
Update README
pirms 3 gadiem
TheoryOfNekomata
a4a712af5e
Update package
pirms 3 gadiem
TheoryOfNekomata
8875c63f48
Update README
pirms 3 gadiem
TheoryOfNekomata
7cb36935a5
Update README
pirms 3 gadiem
TheoryOfNekomata
8b9fd6e610
Bump version
For republishing.
pirms 3 gadiem
TheoryOfNekomata
5de36b6132
Update package
Exclude original source to minimize package size.
pirms 3 gadiem
TheoryOfNekomata
a21588e705
Update npmignore
pirms 3 gadiem
TheoryOfNekomata
9db23f3bb8
Update npmignore
Ignore project files
pirms 3 gadiem
TheoryOfNekomata
eb7f4a80a1
Separate prettierrc
Use separate file
pirms 3 gadiem
TheoryOfNekomata
8fe5df13ac
Update package
pirms 3 gadiem
TheoryOfNekomata
d67aaa9c84
Fix logic for file input
Use correct logic.
pirms 3 gadiem
TheoryOfNekomata
1495659990
Organize code
Switch order in appearance of definitions.
pirms 3 gadiem
TheoryOfNekomata
67bd13e7ae
Structure tests, document methods
The tests do not depend on separate files for loading templates. This is
for the layouts to be defined alongside the tests for easier updates.
The methods have been refactored and documented for ease of use of the
consumers.
pirms 3 gadiem
TheoryOfNekomata
124e107754
Rename everything test
Use correct description.
pirms 3 gadiem
TheoryOfNekomata
5ea923e826
Include input outside form demonstration
Add checkbox on sample form in README.
pirms 3 gadiem