FormInput.model
property · packages/mixins-form/src/index.ts:157
readonly model: ModelForm / foldkit-mixins-form
interface · packages/mixins-form/src/index.ts:156
interface FormInput<
Model,
Key extends string = string,
> extends FormViewInputs<Key> {
readonly model: Model
readonly errors: ReadonlyArray<string>
readonly canSubmit: boolean
readonly submitting?: boolean | undefined
}What the form's own Style and Behavior attachments may read.
FormInput.modelproperty · packages/mixins-form/src/index.ts:157
readonly model: ModelFormInput.errorsproperty · packages/mixins-form/src/index.ts:158
readonly errors: ReadonlyArray<string>FormInput.canSubmitproperty · packages/mixins-form/src/index.ts:159
readonly canSubmit: booleanFormInput.submittingproperty · packages/mixins-form/src/index.ts:164
readonly submitting?: boolean | undefinedWhether the form is submitting: a submit waits for a check, or the
application's work with the value is in flight. FormView.submodel reads both.