-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
scope: checkboxChanges related to the checkbox.Changes related to the checkbox.scope: radioChanges related to the radio.Changes related to the radio.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.waiting for 👍Waiting for upvotes. Open for community feedback and needs more interest to be worked on.Waiting for upvotes. Open for community feedback and needs more interest to be worked on.
Description
Setting readOnly on Checkbox component should make it read-only.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
readOnly has no effect
Expected Behavior 🤔
readOnly should make component read-only
Steps to Reproduce 🕹
Working example:
https://codesandbox.io/s/material-demo-sdpbg
Steps:
- Set readOnly on Checkbox component
Your Environment 🌎
| Tech | Version |
|---|---|
| Material-UI | v4.1.3 |
| React | 16.8.6 |
| Browser | Chrome v75 |
| TypeScript | - |
| etc. |
oliviertassinari, bmaclean, ashkan4ever, LvChengbin, lyin-vir and 8 more
Metadata
Metadata
Assignees
Labels
scope: checkboxChanges related to the checkbox.Changes related to the checkbox.scope: radioChanges related to the radio.Changes related to the radio.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.waiting for 👍Waiting for upvotes. Open for community feedback and needs more interest to be worked on.Waiting for upvotes. Open for community feedback and needs more interest to be worked on.