Fields Properties

Editable Props

PropertyTypeInfoHelp
typestringField type (default:text).-
valueanyValue of the field.-
initialbooleanThe initial value of the field.-
defaultbooleanThe default value of the field.-
labelstringThe Field label.-
placeholderstringThe Field placeholder.-
relatedarray of strings (fieldpath)Execute validation on related fields.-
optionsobjectIndividual Field Options, with fallback on Form Options.-
rulesbooleanGet DVR Validation Rules.-
validatorsbooleanGet VJF Validation Functions.-
validatedWithstringField prop to validate insteadvalue.-
extraanyAdditional extra data for the field (useful for a select input).-
bindingsstringThe key of the registered bindings to use for the current field.help
hooksobjectAn object with Event Hookshelp
handlersobjectAn object with Event Handlers.help
deletedbooleanThe deleted state of the field. (seesoftDelete option)-
disabledbooleanThe disabled state of the field.-
autoFocusbooleanSet this totrue for the first input to be focused at form initialization.-
inputModestringThe attribute can have any of the following values:none,text,decimal,numeric,tel,search,email,url-
converterfunctionFunction to controlvalue computed prop output.-
nullablebooleanHandlenull field value.-
refReact RefA React Ref will be attached ifbind() is used.help
observersobjectThe mobx observers to listen on Fields Props or Fields Map changes.help
interceptorsobjectThe mobx interceptors to listen on Fields Props or Fields Map changes.help

Computed Props

PropertyTypeMobX TypeInfoHelp
keystring-Field key (same ofname if not provided)-
namestring-Field name (same ofkey if not provided).-
pathstring-Field path (for nested fields).-
sizeintcomputedNumber of contained Fields.-
submittingbooleancomputedCheck if the field is in submitting state.-
submittedintcomputedCheck how many times a field has been submitted.-
validatingbooleancomputedCheck if the field is in validation state.-
validatedintcomputedCheck how many times a field has been validated.-
focusedbooleancomputedCheck if the field is focused.-
touchedbooleancomputedCheck if the field is touched.-
changedbooleancomputedCheck if the field is changed.-
blurredbooleancomputedCheck if the field is blurred.-
isValidbooleancomputedCheck if the field is valid.-
isDirtybooleancomputedCheck if the field is dirty.-
isPristinebooleancomputedCheck if the field is pristine.-
isDefaultbooleancomputedCheck if the field is to default value.-
isEmptybooleancomputedCheck if the field is empty.-
hasErrorbooleancomputedCheck if the field has errors.-
errorstringcomputedField error message.-
filesanycomputedUse theonDrop Event Handler to retrieve the files data.-
validatedValueobjectcomputedObtain FieldvalidatedWith value.-
hasNestedFieldsbooleancomputedCheck if the field has Nested Fields.-
hasIncrementalKeysbooleancomputedCheck if the nested fields have incremental keys.-

results matching ""

    No results matching ""