-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(v2): add DropdownField component, update SingleSelect component (#…
…3440) * feat: add createDropdownValidationRules fn * feat: add DropdownField component and stories * feat: add field id as ChakraUI's FieldControl component to propagate * feat(SingleSelectProvider): add default labelId and inputId remove a11y errors, allow targeting via label when used with FieldContainer * feat: allow override of comboboxProps, update clearButtonLabel default * feat: rename dropdown stories' label title * feat: render dropdown fields in public form page * test(DropdownField): add unit tests * feat: show selected in input but clear input so dropdown is refreshed * feat: set defaultHighlightedIndex to reset on selection * test: fix test cases due to new behaviour * feat: add aria-describedby to input for selection option a11y
- Loading branch information
Showing
16 changed files
with
466 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
frontend/src/components/Dropdown/components/SelectCombobox/LabelIcon.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.