-
From the docs, both ContextI have an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey! I think the docs are a little misleading here. While both filters render a list of checkboxes, the I would suggest using the We started with the Boolean filter. Then we had a requirement where we needed to filter for specific users in a select input. We decided to add a different filter to support this because the UI is fundamentally different. I guess we should do a better job of highlighting the differences in our documentation! Thanks for your discussion. |
Beta Was this translation helpful? Give feedback.
Hey! I think the docs are a little misleading here. While both filters render a list of checkboxes, the
MultiSelect
filter wraps these inputs into a select input that you can open and close. I guess the difference between these two filters is mostly in the UI.I would suggest using the
Boolean
filter if you have a handful of predefined values (e.g. a published status of a post or a list of predefined categories). Once you start loading options dynamically, e.g. if you want to filter for specific users, I recommend using theMultiSelect
filter, as you can open and close it.We started with the Boolean filter. Then we had a requirement where we needed to filter for specific users in a selec…