-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(combobox): limit display of selected items with new selection-di…
…splay prop (#7912) **Related Issue:** #4326 ## Summary This PR introduces a new `selection-display` property to Combobox to control the chip display with the available values `all`(default), `fit` and `single`. This new property only takes effect when `selection-mode` is `multiple` or `ancestors`. --------- Co-authored-by: Erik Harper <eriklharper@pm.me>
- Loading branch information
Showing
9 changed files
with
869 additions
and
87 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"all": "All", | ||
"allSelected": "All selected", | ||
"clear": "Clear value", | ||
"removeTag": "Remove tag" | ||
"removeTag": "Remove tag", | ||
"selected": "selected" | ||
} |
5 changes: 4 additions & 1 deletion
5
packages/calcite-components/src/components/combobox/assets/combobox/t9n/messages_en.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"all": "All", | ||
"allSelected": "All selected", | ||
"clear": "Clear value", | ||
"removeTag": "Remove tag" | ||
"removeTag": "Remove tag", | ||
"selected": "selected" | ||
} |
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.