jakezatecky/react-dual-listbox

Disable only the multi selection buttons (>> and <<)

virajdesaiofficial opened this issue · 3 comments

Please include a clear and concise description of the feature or enhancement you would like to have added to the project.
I want to remove the buttons for selecting and deselecting multiple buttons (<< and >>). I tried searching for the props which would enable me to do this, but it looks like there aren't any.
Is there a way to only have single select (>) and single deselect (<) buttons in the dual-listbox component?
Or can we disable only the multiple select/deselect buttons (<< and >>)?

This would be useful when we do NOT want the user to "De-select" a preselected (and disabled) option.

You can hide the buttons through CSS rather easily, but there is no official way to do this with the component properties.

This relates to #108, which is a potential future feature to add to the component.

Thank you Jake...