getInputProps with a checkbox. However, getInputProps is a function provided by the useForm hook in refine, which is used to bind form inputs to the form state. getInputProps is used with text inputs:getInputPropsgetInputPropsgetInputPropsuseFormconst {
getInputProps,
} = useForm({
initialValues: {
name: "",
material: "",
price: 0,
},
});
return (
<TextInput
mt={8}
id="name"
label="Name"
placeholder="Name"
{...getInputProps("name")}
/>
);