For which field to track the validity status.
If the element is a form it uses isValid
and isDirty
stores to determines the validity.
<input use:validity={{ at: 'email' }}>
If at
is not provided and the element is not a form it defaults to:
pathAt
name
attributefor
attributeid
attributeIf the only option is at
it can be used directly:
<input use:validity={'email'}>
If no field has been found it updates the validity for itself and all its children.
Allow to override the used CSS classes.
Generated using TypeDoc
Options for FormupContext.validity.