[material-ui][Rating] Switching from uncontrolled to controlled #42348
Labels
component: rating
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
status: waiting for author
Issue with insufficient information
Steps to reproduce
Bad link:
MUI: A component is changing the uncontrolled value state of Rating to be controlled.
Elements should not switch from uncontrolled to controlled (or vice versa).
Decide between using a controlled or uncontrolled Rating element for the lifetime of the component.
The nature of the state is determined during the first render. It's considered controlled if the value is not
undefined
.More info: https://fb.me/react-controlled-components
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Search keywords: Rating
The text was updated successfully, but these errors were encountered: