Releases: surinderlohat/react-form-validation
Releases · surinderlohat/react-form-validation
Release 1.4
Add support for setting up custom rules on the fly .
using form.getField('key').setRules(new rules here)
add a new rule same to match field value with other field value
i.e can be used in confirm password case
const field: IFieldObject = {
password: {
label: 'Password',
value: '123',
rules: {
min: 5,
max: 10,
},
},
confirmPassword: {
label: 'Confirm Password',
value: '123',
rules: {
same: 'password',
min: 5,
max: 10,
},
},
};
Release 1.1
Initial Release
- Easy validations solution for react js.
- Regex validations.
- Custom validations.
- Email validations.
- Many useful form helping methods i.e hasError, hasChanges, isTouched, getValues, getErrors.
- Easy to configure.
- Support complex user cases.
- Nested form fields validations.
- Dynamic add/remove fields.
- Open source Free to use.