-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Feature request] Allow set default control type for all types #16818
Comments
@dartess can you share a bit more about your use case? |
The Control is displayed as JSON and cannot be changed in a convenient way. I would like to set the default control type as null for it:
and override it as needed in the component's documentation. |
@yannbf thoughts? |
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! |
I think it would be a huge improvement in TypeScript contexts if we could have more control over matchers. We have a lot of controls auto-generated via
And because this kind of thing happens on many different components, it would be great if they could be regex-matched globally instead of configured per-component. |
Is your feature request related to a problem? Please describe
I cannot set the default control type for my props
Describe the solution you'd like
Control addon already has Custom control type matchers. But it allows you to configure only two types of controls.
Are you able to assist to bring the feature to reality?
I can do MVP. But I don't know much about the internal implementation of the project and may be missing something.
The text was updated successfully, but these errors were encountered: