[pickers] nested slot props not working in textfield #16230
Labels
bug 🐛
Something doesn't work
component: pickers
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Steps to reproduce
[Steps:
]
Current behavior
Nested slotProps are not applied to TextField in the DateTimePicker component.
Nested legacy props like inputProps etc. work, but are deprecated.
Expected behavior
The slotProps passed from parent to DateTimePicker, and used inside its slotProps: {textField: {slotProps }} should work.
Context
Im trying to modify behavior of the Textfield dynamically from a parent component.
Your environment
npx @mui/envinfo
Search keywords: nested slotprops, datepicker slotprops, slotprops, datetimepicker slotprops
The text was updated successfully, but these errors were encountered: