-
-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
CMSRelated to CMS / externalization of contentRelated to CMS / externalization of contentUIUi related issuesUi related issuesdesignDesign task relatedDesign task relateddesign-systemRelated to the design systemRelated to the design system
Description
Description
We already have a dropdown component, but it only supports a flat list of items. We need to extend it so that dropdowns can also display nested children (grouped or hierarchical items) as displayed here
Requirements
Dropdown with groups/children
Parent items (e.g., "Landing tag", "Dashboard tag")
Child items under each parent (e.g., "Title dico (key dico)")
Code specification
use import { getUnmergedDictioanries } from "@intlayer/unmerged-dictionaries-entry" to retreive the dictioanries
Selection
- Support selecting both parent and child items.
Selected items should be visually highlighted with a checkmark.
If we select a parent item, all the children should be automatically selected.
Also we can select one children item and the parent should not be selected. - Search bar
A text input at the top to filter both parent and child items. - Styling
Keep the existing dropdown UI style (rounded, dark theme, consistent padding).
Nested children should be slightly indented or grouped for clarity.
Acceptance Criteria
Dropdown supports hierarchical data with children.
Parent and child items render correctly with proper styling.
Checkmarks show which items are selected.
Search bar filters across both parent and child items.
Works consistently across modern browsers.
Metadata
Metadata
Assignees
Labels
CMSRelated to CMS / externalization of contentRelated to CMS / externalization of contentUIUi related issuesUi related issuesdesignDesign task relatedDesign task relateddesign-systemRelated to the design systemRelated to the design system