Releases: jkuatdsc/form-builder
Releases · jkuatdsc/form-builder
v1.0.7
Changelog
- Cards validation: the new cards validation makes use of the Luhn algorithm to verify the validity of credit cards rather than the previous regex expression.
- Form reset: the form state and field states have a new function to reset the input/inputs.
- Default values: your data classes can now contain default values for other fields which aren't part of the form fields.
Minor changes:
- More unit tests
- Docs updates
v1.0.6
Changes:
- Changed the
getData
function in the FormState to accommodate for data classes with default values - Minor README changes
v1.0.5
What's Changed
Feature/additional validators by @SergeiMikhailovskii in #47. Three validators added to the TextFieldState
- Phone: this can be used to verify phone numbers.
- Web URL: this can be used to verify links.
- Cards: this can be used to verify credit card numbers.
New Contributors
- @SergeiMikhailovskii made their first contribution in #47
Full Changelog: 1.0.4...1.0.5
v1.0.4
Merge pull request #45 from jkuatdsc/bugfix/access-modifier Update `validate` Access Modifier
v1.0.3
This fixes:
- The select state error
- A few docs changes
Form Builder v1.0.2
What's Changed
- Added
initial: <T>
argument inBaseState
class - Changed the access modifier for
value
andfun validate()
inBaseState
class tointernal
Form builder
Changelog
- Added
SelectState
andChoiceState
classes - Added more validators for different classes
- Create an abstract
BaseState
class
Form Builder
- initial release