The definition of a pending change that will be processed in the `onChange` handler
| 358 | /** The definition of a pending change that will be processed in the `onChange` handler |
| 359 | */ |
| 360 | interface PendingChange<T> { |
| 361 | /** The path into the formData/errorSchema at which the `newValue`/`newErrorSchema` will be set */ |
| 362 | path: FieldPathList; |
| 363 | /** The new value to set into the formData */ |
| 364 | newValue?: T; |
| 365 | /** The new errors to be set into the errorSchema, if any */ |
| 366 | newErrorSchema?: ErrorSchema<T>; |
| 367 | /** The optional id of the field for which the change is being made */ |
| 368 | id?: string; |
| 369 | } |
| 370 | |
| 371 | /** The `Form` component renders the outer form and all the fields defined in the `schema` */ |
| 372 | export default class Form< |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…