design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Feature Request: Lookup prop for initially selected item

Open minevskiy opened this issue 10 years ago • 1 comments

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

minevskiy avatar Feb 08 '16 22:02 minevskiy

Great idea! I've added a new prop, selectedItem, which takes the index of the selected item. Thanks Ivan M.

donnieberg avatar Feb 09 '16 01:02 donnieberg