Field Validation
Field
's can be validated in a few ways. The following pre-built validations are available:
- required
- min
- max
- pattern
If you want to use your own validation either sync or async (returns a Promise) you can use the validate
property of a Field
.
The sandbox below shows how the validator can be used.