formx
- Pass initial values in options
- Set initial values
- Validate form
- Validate one field
- Group forms to one container (group)
- Validate forms group
- Async validation
- Validate field on blur
- Validate field on each change if it has been already validated
- Validate field on each change if form was submitted
- 'isChanged' on field, form, forms group
- Get forms group state (values, isChanged, etc)
- Set state to forms group
- Reset form to default state, options, etc
- Add option to
setValues()
to allow set values without validation each field - Checkbox and Radio support (boolean checked, value)
- Memo for async validators (decorator)
- Option for validation debounce timeout
To run examples
npx babel-node examples/validate-form.js