How do you clear selected values?
evilboss opened this issue · comments
Jr Reyes commented
Hi, I'm currently using your plugin for my current project, I'm relatively new to react and I was wondering how would i reset selected values for select-popover/
fiatjaf_ commented
My fork at https://github.com/fiatjaf/react-select-popover has support for setting initially selected values, as well as changing the selected values by changing the props (see willReceiveProps), so this should be easy as changing the values to react-select-popover
on the key value
to []
(an empty array).
(To install: npm install --save fiatjaf/react-select-popover
)