Skip to content

Releases: dockwa/simple-react-validator

Currency and Decimal Validators

22 May 15:25
Compare
Choose a tag to compare

Added support for currency and decimal validators. Enjoy! Thanks @Hardik21 for the feature request.

Fix custom rules incorrect execution context

02 Apr 20:19
Compare
Choose a tag to compare

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

24 Oct 15:00
Compare
Choose a tag to compare

You can now call a "getErrorMessages" method on the validator to give you an object of "form_key": "error message" to list the error messages.

See pull request #4 and thanks @neroze for the contribution.

Adds support for checking if a single field is valid

16 Oct 15:45
Compare
Choose a tag to compare

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

16 Aug 18:37
Compare
Choose a tag to compare

See the readme for more about how this works.

Support for custom rules

25 Jul 20:33
Compare
Choose a tag to compare

This release adds the ability to add fully custom rules. See the readme for an example.

Custom Error Messaging

21 Jul 19:29
Compare
Choose a tag to compare

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

09 May 22:25
Compare
Choose a tag to compare
v0.0.1

Update README.md