Open vijaybalagopala opened 6 years ago
Hello,
I guess you could use setItems() with an empty string/array.
On Tue, Oct 24, 2017 at 10:13 AM, vijaybalagopala notifications@github.com wrote:
Hi Mike,
Do we have a feature where we can clear the list of the MultiComboBox similar to the removeAllItems feature of the dropdown box?
Thanks, Vijay
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/org-scn-design-studio-community/lumiradesignercommunityext/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AJpiS5vkstF9Pw2PpOkw-Y4sMW_wuvvsks5svfCJgaJpZM4QEfvi .
-- Franck BLAIS
Hi Franck,
That is just appending to the list but not removing the existing values in the list. I need to be able to remove all the existing values in the list.
Hi Vijay,
The component was developed to be mainly data-bound. If you want the setItems API function to clear your view you will need to ditch the data binding and also fill it with setItems. Does that make sense? Otherwise it will always reflect filter state by design.
Kind regards Martin
Hi Mike,
Thanks, Vijay