Skip to content

API Reference

Welcome to the API Reference. Use this page as a hub to quickly find the property, method, or handler you need.


Form Properties

Computed and observable properties of the Form instance.

CategoryProperties
ValidationisValid, hasError, error, validating, validated
Interactionfocused, touched, changed, submitting, submitted, disabled
StateisDirty, isPristine, isDefault, isEmpty
Structuresize, hasNestedFields, hasIncrementalKeys
OutputflatMapValues

Full Form Properties reference


Form Methods

Methods available on the Form instance — actions, helpers, event handlers, and MobX integrations.

CategoryMethods
Navigation$(), select(), has()
Valueget(), set(), update(), add(), del(), move()
Validationvalidate(), check(), invalidate(), resetValidation(), showErrors()
Actionsclear(), reset(), submit(), focus(), blur()
Helpersvalues(), errors(), labels(), placeholders(), defaults(), initials(), types()
Iterationmap(), reduce(), each()
Event HandlersonSubmit(), onClear(), onReset(), onAdd(), onDel(), onDrop()
MobXobserve(), intercept(), dispose()

Full Form Methods reference


Fields Properties

All properties available on each Field instance — both editable props you define and computed props you read at runtime.

Editable Props

CategoryProperties
Value & Displaytype, value, initial, default, label, placeholder, extra
Input Behaviordisabled, deleted, nullable, autoFocus, inputMode, autoComplete, ref
Validationrules, validators, validatedWith, related
Convertersconverter, converters, input, output, computed
Bindingsbindings, options, class, classes
Eventshooks, handlers, observers, interceptors
Nestedfields, name

Computed Props

CategoryProperties
ValidationisValid, hasError, error, errorSync, errorAsync, validating, validated
Identitykey, name, path, id, size, hasNestedFields, hasIncrementalKeys
Interactionfocused, blurred, touched, changed, submitting, submitted
ValueisDirty, isPristine, isDefault, isEmpty, checked, validatedValue, files
StateshowError, actionRunning, resetting, clearing, validationErrorStack

Full Fields Properties reference


Fields Methods

Methods available on each Field instance and the Form instance (shared base class).

CategoryMethods
Navigation$(), select(), has(), container()
Valueget(), set(), update(), add(), del(), move()
Validationvalidate(), check(), invalidate(), resetValidation()
Actionsclear(), reset(), submit(), focus(), blur(), trim()
UI & Bindingsbind(), showErrors()
Helpersvalues(), errors(), labels(), placeholders(), defaults(), initials(), types()
Iterationmap(), reduce(), each()
Event Handlerssync(), onChange(), onToggle(), onFocus(), onBlur(), onKeyDown(), onKeyUp(), onDrop(), onSubmit(), onClear(), onReset(), onAdd(), onDel()
MobXobserve(), intercept(), dispose()

Full Fields Methods reference


If you need...Start here
Form-level computed props (isValid, isDirty, error...)Form Properties
Field-level computed props (path, touched, changed...)Fields Properties — Computed Props section
Field definition props (label, rules, hooks, bindings...)Fields Properties — Editable Props section
Reading and writing valuesForm Methods — Value Operations
Validation and submitForm Methods — Validation section
Dynamic arrays (add/delete/move)Form Methods — Value Operations
Keyboard eventsFields Methods — Event Handlers
File uploadFields Methods — Event Handlers (onDrop)
MobX observe/interceptForm Methods — MobX Events
Iterating over fieldsFields Methods — Iteration
UI bindingsFields Methods — UI & Bindings

Released under the MIT License.