Functional reactive forms. Multi-layer validation, custom styling, field grouping, reactive props, and much more.
onChange
handlers to be invoked with the obsolete value (#341)required
prop (#344)form.reset()
(#347)initialValue
of a checkbox not being set (#380)babel-plugin-ramda
touched
property to the fieldState
(#289)assertValue
option on createField
(docs)mapValue
option on createField
(docs)serialize
option on createField
(#303, docs)exact
prop for Field.Group
(#321, docs)missing
message not being set on a field (#306)errors
after a field becomes valid (#301)window is not defined
exception during server-side rendering (#322)Form.clear()
(#333)type: "text"
to all fields by default (#335)immutable
peer dependency. React is the only peer dependency now.initialValues
for a form (#271)fields
(#245)Field.props.rule
now behaves as a reactive prop (#249)validated
field prop into fieldState
(#151)get
function exposed through the method arguments.Proxy
, thus improving the browser support for IE.beforeRegister
method to createField
options. This method allows to apply additional transformations to the fieldProps
immediately before the registration. It also allows to completely prevent the registration of the field in case false
is returned. (#233)allowMultiple
flag to createField
options. This flag controls whether the multiple fields with the same name are allowed. (#233)valuePropName
props in validation rules resolvers functions. (#238)initialValue
in the createField
options. (#240)valuePropName
in the fieldProps
composition in createField.Field
render methodupdateField
method to use pure update
function as a parameter (#182)fieldProps
(and additional sync rule resolver args, instead of fields
). Changes the method call in flushFieldRefs
, using dispatch
to be aligned with form.context.withImmutable
valid
on expected Checkbox properly (#213)debounceValidate
method on field record within Field.register()
instead of Form.registerField()
to prevent field record diversion (#221)regenerator-runtime
instead of babel-polyfill
Stable release that contains aligned API and the list of following features: