Cannot remove controls from Canvas but keep property in Docs Page.
See original GitHub issueI am working with a component that has quite a few properties, most of which do not need to have controls, but there doesn’t seem to be a way to remove the row from the canvas without also removing the property from the docs page.
Steps to Reproduce:
- Set a specific property’s control to false:
foo: { control: false } }
(according to documentation ) - Property still exists in row of controls but with a ‘-’ instead of a control
- Use
foo: { table: { disable: true } }
instead to try to remove the control from the Canvas - Property is removed but it loses its documentation
Setting the control to false (or some other method) should hide it from the Canvas UI, but keep it in the docs for developers to access, instead of only removing the control itself or removing the entire row.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Controls and properties in canvas apps - Microsoft Learn
Learn about properties of different controls in canvas apps. ... Camera – Take and save photos in the app or to a data...
Read more >How can hide storybook control per story arg - Stack Overflow
You can disable controls for individual properties of a story including the prop table documentation, or you can disable only the control and...
Read more >Stop, limit, or change sharing - Google Docs Editors Help
After you share a file, you can stop sharing at any time. You can also control if people you've shared with can change...
Read more >Google Maps JavaScript API V3 Reference
This is an index of all the classes, methods, and interfaces in the Maps JavaScript API version 3.51 (weekly channel). This reference is...
Read more >Illustrator workspace basics - Adobe Support
The toolbar contains tools for creating and editing images, artwork, page elements, and so on. Related tools are grouped. The Control panel ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@scotch115 @shilman We have the same issue. We want to remove specific props from controls panel but keep them inside the documentation table. We also tried with
foo: { control: false } }
, with this, I can disable the prop in controls but it is still visible in the panel.Thanks @scotch115 we will try remixing the Docs Page.