-
Notifications
You must be signed in to change notification settings - Fork 582
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
HCMS: Configure Dynamic Zone and Object field to be expanded by default #4109
Labels
Comments
My considerations are based on the case that the content model is defined in-code. |
ma-schmidt-de
pushed a commit
to ma-schmidt-de/webiny-js
that referenced
this issue
Jun 4, 2024
BREAKING CHANGE: none Refs: webiny#4109
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
In our customer project, we see the requirement to always render a dynamic zone open with it's content. Right now, every time a DZ is rendered, it is collapsed and editors always have to spend an additional click to open it and see the inner content.
Describe the feature's behavior.
To improve editor UX, it would be best to configure a DZ or an object (accordion renderer) to always be expanded when rendered initially.
AccordionItem
react component used in dynamicZoneRenderer.tsx does indeed support anopen
property which I expect does open the accordion item by defaultopen?: boolean
attribute or use it's definition[key: string]: any
to support the newopen
configuration.open
configuration to theopen
property of theAccordionItem
in the dynamic zone renderer and the object renderers (single & multiple). Something like:Describe alternatives you've considered.
No response
The text was updated successfully, but these errors were encountered: