What field to validate.
<input use:validate={{ at: 'email' }}>
If at is not provided and the element is not a form it defaults to:
pathAtname attributefor attributeid attributeIf the only option is at it can be used directly:
<input use:validate={'email'}>
If no field has been found it validates itself and all its children.
Timeout in milliseconds after which a validation should start.
Override which events should mark a field as dirty.
Override which events should trigger a validation and mark a field as dirty.
Override which events should trigger a validation.
<input use:validate={{ validateOn: ['input', 'change'] }}>
<input use:validate={{ validateOn: 'blur' }}>
Generated using TypeDoc
Options for FormupContext.validate.