BoundTextField

BoundTextField 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 { TextFieldProps } from "@mui/material";
export declare type BoundTextFieldProps = TextFieldProps & {
  field: string;
};
export declare function BoundTextField(props: BoundTextFieldProps): JSX.Element;

Last updated

Was this helpful?