- Notifications
You must be signed in to change notification settings - Fork15
Add regex constraints to a field
Charly POLY edited this pageJun 8, 2018 ·3 revisions
config prop can receive aupdateFields property.
This properties is useful to update the form schema.
Example
{updateFields:{'user.phone_number':{pattern:'(^[0-9\+]{5,}$)|(^[a-zA-Z0-9]{0}$)'}}}