Appearance
createForm()
Returns FormModel, accepts config object:
reinitialize
(optional) works in pair with initialValues. If initialValues is a store with reinitialize set to true the form will be reset every time initialValues store get updatedisDisabled
(optional) global flag for a form (purely UI prop) to have global disable state reference on form modelinitialValues
values object or store with values objectonSubmit
(optional) binds passed unit tosubmitted
event via sample (mainly to reduce boilerplate)onReject
(optional) same as onSubmit but called onrejected
eventresetOn
(optional) array of units to bindreset
event (mainly to reduce boilerplate)validateOn
(optional) array of units to bindvalidate
event (mainly to reduce boilerplate)errors
(optional) store with error map which will be passed to$externalErrors
form model field. UI param, no inner logic bound to it.