Multiselect Filter Not Working

Hi All!

I am currently trying to enable a multiselect filter, but unfortunately it does not work. When not applying any multiselect filter it does not show me any results of my query.
This is my code:

We are talking about multiselect1 in this instance

Thanks for your help in advance!

Hey @nicmoiss!

Can you try using {{multiselect1.value.length === 0}} or {{ _.isEmpty(multiselect1.value)}} instead of {{!multiselect1.value}}?

The value of a multiselect will always be an array so even if it's empty it's still truthy meaning !multiselect1.value will evaluate to false. Using one of the other two expressions should properly check to see that you haven't selected any options yet!

1 Like