Set on non form element if it or any of its children is dirty.
Set on non form element if any of its children
Set on non form element if it or all its children is pristine.
Set on non form element if all of its children
Set on non form element if it or any of its children is validating.
Set on the element if it or any of its children is dirty.
Set on the element if it or any of its children: $dirty.has(field) && !$validating.has(field) && $errors.has(field)
Set on the element if it or all its children is pristine.
Set on the form if it is has been submitted.
Set on the form if it is submitting.
Set on the element if it or all of its children: $dirty.has(field) && !$validating.has(field) && !$errors.has(field)
Set on the element if it or any of its children is validating.
Generated using TypeDoc
CSS class name mapping used FormupContext.validity.
These can be overriden using FormupOptions.classes when invoking formup or FormupContext.validity.
on form:
.is-{dirty,pristine,error,validating,submitting,submitted}
on form elements (controls & fieldsets):
.is-{dirty,pristine,error,success,validating}
:valid
&:invalid
other elements:
has-{dirty,pristine,error,success,validating}
dirty: field or one child dirty -
$dirty.has(field)
pristine: field or all childs pristine -
!$dirty.has(field)
error: field or one child -
$dirty.has(field) && !$validating.has(field) && $errors.has(field)
success: field or all child -
$dirty.has(field) && !$validating.has(field) && !\$errors.has(field)
validating:
$validating.has(field)