I am working on a view that requires a “FiledGroup” to be added and under that couple of fields to be added. To make it as Accordion layout platform provide option “Collapsible” under headings. But there is no default option to choose whether to keep collapsed or keep expanded when view is rendered.
By default it is expanded and when we have multiple such “FiledGroups” the used explicitly needs to click on the arrow to make it collapse. Is there any other way to make it default collapsible?
@kirant33 In Constellation, a Field Group is a cluster of individual fields that present related data inside a View. It helps organize fields under a single header and provides tools to add instructions or temporarily hide fields in collapsible sections, making it easier for users to navigate the information presented in the View.
The design system targets accessibility standards, ensuring that the maximum width of a column is set to maintain visual presentation guidelines.
Currently, it’s not possible to set a field group to be collapsed by default, and this is by design. One reason for this is to ensure accessibility, as collapsing fields by default might unintentionally hide important information from users.
In your example, do you expect users to always complete both the Personal Details and Contact Information sections? Since you’re using a multistep form, which effectively breaks down larger tasks, you might consider placing one of these field groups in a separate step if you feel it should be initially hidden. This approach can help maintain clarity and accessibility.