ui5-webcomponents
ui5-webcomponents copied to clipboard
[Feature Request]: ColorPaletteItem selected feature
Feature Request Description
When using the ColorPalettePopover, it would be usefull to have the possibility to set a selected ColorPaletteItem. So that when opening the ColorPalettePopover, the selected ColorPaletteItem is focused.
Because when opening the ColorPalettePopover, it is always the first colorPaletteItem that gets the focus. As the ColorPalettePopover is used as a color selector in my use case. It would be nice to be able to have the possibility to specify which colorPaletteItem gets focused when opening the ColorPalettePopover.
Proposed Solution
Add a 'selected' property on ColorPaletteItem component, similarly to what is available on the Option component of the Select.
Proposed Alternatives
No response
Organization
SAP
Additional Context
No response
Priority
Medium
Privacy Policy
- [X] I’m not disclosing any internal or sensitive information.
Hi @DMihaylova,
Please have a look at this feature request. We have similar request for UI5: FIORITECHP1-26816.
Best regards, Petya
Hi @nathanbienfait,
We're happy to announce that ui5-color-palette-item has now 'selected' property: https://github.com/SAP/ui5-webcomponents/pull/8554 In case of further questions or assistance, feel free to reach out.
Thanks & Regards, Diana