Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rating] Treat read-only as image #22639

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Sep 18, 2020

Reverts behavior introduced by #22606. Since native radios/checkboxes don't support readonly either (as well as our Radio/Checkbox component) we should work on this with a more holistic approach based off of real-world use cases. See #17043.

Reworked the test suite based on the fact that name is optional and codified current behavior of <Rating readOnly /> in tests.

@eps1lon eps1lon added the component: rating This is the name of the generic UI component, not the React module! label Sep 18, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Sep 18, 2020

Details of bundle changes

Generated by 🚫 dangerJS against 821a92b

@eps1lon eps1lon force-pushed the fix/rating/revert-readonly branch from 412b8ea to 821a92b Compare September 18, 2020 07:21
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I didn't know readonly wasn't supported by radio too. I did a quick search to understand why, I could land on w3c/html#92, the topic seems controversial.

@oliviertassinari oliviertassinari merged commit 15af0bd into mui:next Sep 18, 2020
@eps1lon eps1lon deleted the fix/rating/revert-readonly branch September 14, 2021 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: rating This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants