-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I have a multi-select with closeOnSelect
set to false. My intention is for the user to be able to see all available options, including those they have already selected, in the menu, which, instead of closing, updates its appearance when options are selected. I will style the selected options differently from unselected, using the options slot (probably with a checkbox).
I tried using the displayedOptions prop (passing it all the options at all times) but it didn't seem to make a difference; I think it might be intended for a different purpose. (I'm not raising a 'bug' report since my version is older, v0.8.0, and I think it might be expected behaviour). I think I was expecting displayedOptions
to replace the implicit built-in filter on the menu options that makes it only show unselected options (in the case of multi-selects), but now I instead suspect it's intended to do its filtration at an earlier stage, changing what options are possible to be displayed (rather than setting which options are actually displayed).