Skip to content

Form Properties

PropertyTypeMobX TypeInfoHelp
sizeintcomputedNumber of contained Fields.-
submittingbooleancomputedCheck if the form is in submitting state.-
submittedintcomputedCheck how many times a form has been submitted.-
validatingbooleancomputedCheck if the form is in validation state.-
validatedintcomputedCheck how many times a form has been validated.-
isValidbooleancomputedCheck if the form is valid.-
isDirtybooleancomputedCheck if the form is dirty.-
isPristinebooleancomputedCheck if the form is in pristine state.-
isDefaultbooleancomputedCheck if the form is to default state.-
isEmptybooleancomputedCheck if the form is empty.-
disabledbooleancomputedCheck if the form is disabled.-
focusedbooleancomputedCheck if the form is focused.-
touchedbooleancomputedCheck if the form is touched.-
changedintcomputedCheck how many times the value has changed.-
hasErrorbooleancomputedCheck if the form has errors.-
errorstringcomputedA default/generic error message (not related to fields).-
flatMapValuesobjectcomputedFlat map of all field paths to their validated values (path → value).-
hasNestedFieldsbooleancomputedCheck if the form has Nested Fields.-
hasIncrementalKeysbooleancomputedCheck if the nested fields have incremental keys.-

Released under the MIT License.