[base-ui][material-ui] Uncontrolled RadioGroup component do not fully reset when inside a <form> with a reset button #40243
Labels
component: radio
This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
package: base-ui
Specific to @mui/base
package: material-ui
Specific to @mui/material
Duplicates
Latest version
Steps to reproduce 馃暪
Link to live example without using state: https://codesandbox.io/p/sandbox/agitated-bogdan-dx9dvn
Link to live example using state: https://codesandbox.io/p/sandbox/brave-chandrasekhar-3h9gdv
Current behavior 馃槸
When using Radio Group component, Pressing the reset button in a form does not revert value of the Radio Group to its default value.
If I use Radio Group with state then it will work properly.
Expected behavior 馃
Changes in the value of the Radio Group will get reset while clicking on the reset button when we are not using the state (for the first codesandbox).
Context 馃敠
No response
Your environment 馃寧
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: