BoundInput

BoundInput binds a MUI Input component to the data object found in the nearest DataObjectProvider. Usage is just like the MUI Input, except you must give a field name in the field property instead of passing value/onChange properties.

API

import { InputProps } from "@mui/material";
export declare type BoundInputProps = InputProps & {
  field: string;
};
export declare function BoundInput(props: BoundInputProps): JSX.Element;

Last updated

Was this helpful?