[Radio]: inputProps
no longer being applied after introduction of slotProps
#45447
Labels
component: radio
This is the name of the generic UI component, not the React module!
regression
A bug, but worse
Steps to reproduce
Steps:
aria-label
is applied viainputProps
, but the radio's input has no accessible namearia-label
is applied viainputProps
, but the radio's input has an accessible nameCurrent behavior
6.4.6 introduced a bug that can be seen in the Standalone Radio Buttons demo:
inputProps
are no longer being applied:The radio button no longer has an accessible name. The user needs to use
slotProps.input
, but that is a breaking change.Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Search keywords: Radio, slotProps
The text was updated successfully, but these errors were encountered: