You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the source of BooleanInput.tsx, it looks like the 'options' is not passed on to the underlying component. And that 'options' is removed by the call to sanitizeInputRestProps() ?
The text was updated successfully, but these errors were encountered:
In v3 I had customized to use specific icons/colors, like the manual says it should be done:
`import { BooleanInput } from 'react-admin';
import FavoriteIcon from '@mui/icons-material/Favorite';
<BooleanInput
source="favorite"
options={{
checkedIcon: ,
}}
/>`
It worked as expected in v3.
In v4, it does not work anymore.
Looking at the source of BooleanInput.tsx, it looks like the 'options' is not passed on to the underlying component. And that 'options' is removed by the call to sanitizeInputRestProps() ?
The text was updated successfully, but these errors were encountered: