shentao / vue-multiselect

Universal select/multiselect/tagging component for Vue.js
https://vue-multiselect.js.org/
MIT License
6.66k stars 989 forks source link

is there any way I can hide specific options from getting displayed in options list without removing them from options array? #1667

Open het-t opened 1 year ago

het-t commented 1 year ago

I am passing JSON array users to multiselect as options props, all objects in users JSON have property is_active (boolean) which states if that user is deleted or not; I want to hide users which are deleted from getting displayed in options list without actually removing them from options list.