MCPcopy
hub / github.com/rjsf-team/react-jsonschema-form / PendingChange

Interface PendingChange

packages/core/src/components/Form.tsx:360–369  ·  view source on GitHub ↗

The definition of a pending change that will be processed in the `onChange` handler

Source from the content-addressed store, hash-verified

358/** The definition of a pending change that will be processed in the `onChange` handler
359 */
360interface 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` */
372export default class Form<

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…