jakezatecky / react-dual-listbox

A feature-rich dual listbox for React.
https://jakezatecky.github.io/react-dual-listbox/
MIT License
109 stars 59 forks source link

How to get the position of the selected item #230

Closed jitendrachaudhary25 closed 7 months ago

jitendrachaudhary25 commented 1 year ago

How to get the Index position, Value, and label of the selected item on the onChange event

jakezatecky commented 1 year ago

The selected values are available as the second parameter of the onChange function. Neither index nor label is available at the moment, but that should be supported in the next release.

jakezatecky commented 7 months ago

Additional details added to the second parameter.