-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
mui
Version
5.23.1
Current Behavior
The properties passed down to customer widget/fields have the wrong casing causing both lighthouse errors and them not being applied, see:
const createFields = () => ({
ArrayField: AutocompleteArrayField,
});
const AutocompleteArrayField = ({
formData,
schema: { title },
onChange,
...props
}) => {
const handleChange = (event, newValue) => onChange(newValue);
return (
<Autocomplete
freeSolo
multiple
options={[]}
value={formData}
onChange={handleChange}
renderInput={(params) => <TextField {...params} label={title} />}
{...props}
/>
);
};
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS:
- Node:
- npm:
Anything else?
No response