[base-ui][material-ui] Uncontrolled Autocomplete component do not fully reset when inside a <form> with a reset button #40252
Labels
component: autocomplete
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/jovial-hodgkin-rczprx
Link to live example using state: https://codesandbox.io/p/sandbox/admiring-morse-s67ssl
Current behavior 馃槸
When using Autocomplete component, Pressing the reset button in a form does not revert value of the Autocomplete to its default value.
If I use Autocomplete with state then it will work properly.
Expected behavior 馃
Changes in the value of the Autocomplete 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: