material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[material-ui][Rating] Switching from uncontrolled to controlled

Open Mattarek opened this issue 1 year ago • 1 comments

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
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: Rating

Mattarek avatar May 23 '24 07:05 Mattarek

Hey, thanks for opening the issue! Could you provide a minimal reproduction? It helps us troubleshoot. I couldn't necessarily understand what you were getting at from the description. A live example would be perfect. This StackBlitz sandbox template may be a good starting point.

danilo-leal avatar May 28 '24 13:05 danilo-leal

Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.

github-actions[bot] avatar Jul 02 '24 12:07 github-actions[bot]