TheoryOfNekomata
1505606ad7
Choose null instead of empty string for value
The value attribute of fields expect a string. We use a sentinel value
to clear the field.
1 год назад
TheoryOfNekomata
0843513772
Add ability to set disabled element values
Add options for getFormValues, setFormValues, and clearFormValues to allow managing of values for disabled elements.
1 год назад
TheoryOfNekomata
14b5abcae5
Update README
State decision for not implementing setting values on disabled elements.
1 год назад
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.
1 год назад
TheoryOfNekomata
48b10cfea5
Add rationale information
Clarify some content in the rationale document.
1 год назад
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.
1 год назад
TheoryOfNekomata
203f09d7cc
Update README links
Point to absolute paths.
1 год назад
TheoryOfNekomata
eef3b80ccc
Update README
Align header to the center.
1 год назад
TheoryOfNekomata
40f082d926
Update README
Include interactive code samples from Codepen.
1 год назад
TheoryOfNekomata
a6bede536f
Bump version
For publishing.
1 год назад
TheoryOfNekomata
95326f013e
Update README
Link LOGO directly to GitHub.
1 год назад
TheoryOfNekomata
93fccb18f5
Update README
Make usage more understandable.
1 год назад
TheoryOfNekomata
e8942296a2
Improve README
Add usage instructions.
1 год назад
TheoryOfNekomata
8511d76949
Update README
Make information more presentable.
1 год назад
TheoryOfNekomata
484fbb2b7e
Update documentation
Specify options to their respective input types.
1 год назад
TheoryOfNekomata
26ec3a2f9c
Cover all input types
Include all input types for testing.
1 год назад
TheoryOfNekomata
cb5872e28f
Implement edge cases for inputs
Add behavior for dirname, isindex, _charset_ scenarios.
1 год назад
TheoryOfNekomata
1319146c72
Update tests
Improve test syntax.
1 год назад
TheoryOfNekomata
7a2ea6b690
Minor refactor
Isolate generic input setting value to its own function.
1 год назад
TheoryOfNekomata
5fa727bf45
Make coverage 100%
Include all tests for the primary functions as well as the utilities.
1 год назад
TheoryOfNekomata
e793049356
Update supported input types
Make input type handling more comprehensive.
1 год назад
TheoryOfNekomata
23433c32d4
Remove uncovered lines
Only keep lines that are testable.
1 год назад
TheoryOfNekomata
2089f146ef
Update tests, fix multiple value setting
Make tests more comprehensive.
1 год назад
TheoryOfNekomata
4c69db6c02
Add coverage reporting
Include coverage reporting on tests.
1 год назад
TheoryOfNekomata
972a65271e
Add date tests, duplicates
Include tests for duplicate values, as well as comprehensive date tests.
1 год назад
TheoryOfNekomata
1ae8e04f57
Update counting
Reduce complexity in code by un-nesting ternary statements.
1 год назад
TheoryOfNekomata
48166877e4
Add support for multiple values
Correctly set fields when they are arrays.
1 год назад
TheoryOfNekomata
103b9dda84
Update README
Make readme more concise.
1 год назад
TheoryOfNekomata
53a8fa4767
Update tsdoc
Indicate partial values can be passed in setFormValues().
1 год назад
TheoryOfNekomata
c908924fa5
Update npmignore
Add files from pridepack.
1 год назад
TheoryOfNekomata
52088285d1
Update documentation
Add logo, and some documentation.
1 год назад
TheoryOfNekomata
8126098986
Merge branch 'master' of code.modal.sh:TheoryOfNekomata/formxtra
1 год назад
TheoryOfNekomata
fdcdf1ddf3
Refactor code
Make error messages more user-friendly. Also remove magic constants
within functions.
1 год назад
TheoryOfNekomata
0fcde2ab61
Update tsconfig
Specify rootdir.
1 год назад
TheoryOfNekomata
05499e5fdb
Update tests
Include month and week input types.
1 год назад
TheoryOfNekomata
cc3aa1df91
Switch to pridepack, add setFormValues
Implement setFormValues for easy setting of fields.
Also migrated to pridepack because tsdx is already unmaintained.
1 год назад
TheoryOfNekomata
8ca44c9c74
Update package
Proofread README.
3 лет назад
TheoryOfNekomata
96673bd709
Update package.json
3 лет назад
TheoryOfNekomata
9563565723
Update README
3 лет назад
TheoryOfNekomata
a4a712af5e
Update package
3 лет назад
TheoryOfNekomata
8875c63f48
Update README
3 лет назад
TheoryOfNekomata
7cb36935a5
Update README
3 лет назад
TheoryOfNekomata
8b9fd6e610
Bump version
For republishing.
3 лет назад
TheoryOfNekomata
5de36b6132
Update package
Exclude original source to minimize package size.
3 лет назад
TheoryOfNekomata
a21588e705
Update npmignore
3 лет назад
TheoryOfNekomata
9db23f3bb8
Update npmignore
Ignore project files
3 лет назад
TheoryOfNekomata
eb7f4a80a1
Separate prettierrc
Use separate file
3 лет назад
TheoryOfNekomata
8fe5df13ac
Update package
3 лет назад
TheoryOfNekomata
d67aaa9c84
Fix logic for file input
Use correct logic.
3 лет назад
TheoryOfNekomata
1495659990
Organize code
Switch order in appearance of definitions.
3 лет назад