Interface: FormControls<Deps>
Defined in: core/src/form/form-types.ts:67
What the root node of a form has besides the node API.
Type Parameters
| Type Parameter |
|---|
Deps |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
batch | readonly | (update) => void | Applies the writes made inside update with a single notification. | core/src/form/form-types.ts:79 |
dispose | readonly | () => void | Cancels pending asynchronous checks. The form stays usable. | core/src/form/form-types.ts:81 |
formatError | readonly | (error) => string | Turns an error into text with the form's formatError, for example in an error summary. | core/src/form/form-types.ts:83 |
setDeps | readonly | (deps) => void | Replaces the root's dependencies; childDeps are recomputed and affected schemas rebuilt. Dependencies equal key by key to the current ones change nothing. | core/src/form/form-types.ts:77 |
subscribe | readonly | (listener) => () => void | Calls the listener once after every change in the form, or once per batch. Returns a function that unsubscribes. | core/src/form/form-types.ts:72 |