Releases: dockwa/simple-react-validator
Releases · dockwa/simple-react-validator
Currency and Decimal Validators
Added support for currency and decimal validators. Enjoy! Thanks @Hardik21 for the feature request.
Fix custom rules incorrect execution context
Custom rules were not working correctly on a few fronts. Thank you @sunny-sideup for bringing it to my attention in this issue #7!
getErrorMessages method
Adds support for checking if a single field is valid
Adds a fieldValid('field_name')
method that giving a field will return true or false if it is valid or not.
Support for "default" custom rules
See the readme for more about how this works.
Support for custom rules
This release adds the ability to add fully custom rules. See the readme for an example.
Custom Error Messaging
This release adds the ability to pass through custom error messages that will be returned upon a validation error.
Thanks @rek for the contribution.
First release of the validator
v0.0.1 Update README.md