-
-
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
[Bug]: Can no longer render prop documentation without a control #26484
Comments
Having this issue too. Since some issues with autodocs are caused by the new Docgen ( |
So who is responsible of this breaking change ? Facebook or Storybook ? From what we discussed here #26496 and the fact that i have a similar problem with Vue too i would say it's a on the storybook side but i may be wrong. |
Thanks for reporting this! FYI @Astarosa @federico-ntr this is a regression in the controls addon, unrelated to the docgen changes. |
Hi @bdpartridge, Thank you for reporting the issue. I have actually troubles to understand it, though. If you want to remove a specific argType row from the argType table, use Also, I don't understand this sentence:
What do you mean by that? Could you please give some more detailed example? |
@valentinpalkovic I think they mean keeping the row in the table but with control disabled, like documented here (second example, prop documentation without control): https://storybook.js.org/docs/essentials/controls#disable-controls-for-specific-properties |
@federico-ntr |
@federico-ntr Yes, that's exactly what I was referring to. Thanks for clarifying. @valentinpalkovic Sorry, I should've made that clearer in the description. Thanks for picking up this issue. |
Describe the bug
In version 8.0.0, it's no longer possible to render a prop's documentation in the controls table without a control. This was working in version 7.6.5.
To Reproduce
This is very easy to reproduce in 8.0.0, but I can link to a reproduction if it's really necessary. Simply try to disable the control for a prop as noted in the documentation:
In 7.6.5, no control was rendered in the table. In 8.0.0, a control for whatever type is inferred is shown.
System
Additional context
No response
The text was updated successfully, but these errors were encountered: