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

Readonly/plain text control option #12693

Closed
andywd7 opened this issue Oct 7, 2020 · 2 comments
Closed

Readonly/plain text control option #12693

andywd7 opened this issue Oct 7, 2020 · 2 comments

Comments

@andywd7
Copy link

andywd7 commented Oct 7, 2020

Is your feature request related to a problem? Please describe
I would like to be able to show all controls for a component in Canvas but make one of them readonly. For example to have a Primary button story and play with it size, disabled etc... but always keep it as the Primary one. I know you can disable an individual prop but this leaves me with a "-" when I would still like to show that the variant prop should be set to "primary".

Describe the solution you'd like
Be able to set an individual control as readonly or plain text if readonly attribute is not applicable.

Describe alternatives you've considered
Cannot think of any

Are you able to assist to bring the feature to reality?
No

@stale
Copy link

stale bot commented Dec 26, 2020

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Dec 26, 2020
@stale stale bot removed the inactive label Feb 25, 2021
@shilman
Copy link
Member

shilman commented Feb 25, 2021

closing as dupe to #14048 which includes a concrete proposal

@shilman shilman closed this as completed Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants