-
Notifications
You must be signed in to change notification settings - Fork 279
Description
Feature Request Description
Select web component already has this key-value props available - the Option has "value" (which is like key, it's not displayed) and text content (which is the displayed "value" in key-value terms).
The ComBoxItem and the MultiComboBoxItem don't provide a pair of props, they both have "text" (which is the displayed "value" in key-value terms), but don't have "key" or equivalent.
The main use-case that the author provided is a list of countries and their codes and the codes he would like to set as keys that are not displayed, but later get. Alternative that could be done is to maintain this mapping in the app code, which he finds somewhat inconvenient.
Proposed Solution
Add support for "key", "value" ("text" already plays as "value", so "key" is the missing piece).
Proposed Alternatives
Alternative that could be done is to maintain this mapping in the app code, which he finds somewhat inconvenient.
Organization
SAP Build Process Automation
Additional Context
No response
Priority
None
Privacy Policy
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Type
Projects
Status