design-system-react
design-system-react copied to clipboard
Feature Request: Lookup prop for initially selected item
SFX Dashboards are currently calling selectItemByIndex, but a prop selectedItem or selectedItemIndex would work better. The prop value can change after the component is mounted.
This may also fix this Dashboards bug: https://gus.my.salesforce.com/apex/adm_bugdetail?id=a07B0000001kFKS&sfdc.override=1
Great idea! I've added a new prop, selectedItem, which takes the index of the selected item. Thanks Ivan M.