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

Option to skip "Set boolean" button #14

Open
FirstVertex opened this issue Sep 12, 2023 · 1 comment
Open

Option to skip "Set boolean" button #14

FirstVertex opened this issue Sep 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@FirstVertex
Copy link

FirstVertex commented Sep 12, 2023

I have lot of boolean props. It is rendering a "Set boolean" button for every one, instead of a switch control

image

I guess it is doing that because there is not defined any input. But I would rather have it display the switch control in the off position.

Is there any way to make it do that for boolean props? Basically I always want it to display the control there, like the default Controls panel does, instead of requiring this "Set something" button to be pressed before revealing the control

@FirstVertex FirstVertex added the enhancement New feature or request label Sep 12, 2023
@FirstVertex FirstVertex changed the title Option to disable "show boolean" Option to disable "Set boolean" Sep 12, 2023
@FirstVertex FirstVertex changed the title Option to disable "Set boolean" Option to skip "Set boolean" button Sep 12, 2023
@certainlyakey
Copy link

certainlyakey commented Nov 1, 2023

For me the addon doesn't convert any default values of the props into args. So all of the args have to be set to the default values of props manually, which is a pity. This tool solves this problem, although instead of the built-in Stencil documentation builder it uses CEM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants