Filter + List Select doesn't work together

Description

I have a select field that is being populated based on a cms and it works great, but when I add the fs-list-field attr it breaks and it is possible to filter just once because all the options get deleted after the first filter

Site URL

Required: Please provide a staging/production URL where we can see the issue

1 Like

Hey @albertovenaoliveira!

This issue is happening because List Filter is designed to filter multiple lists using a single form. Since the list used to populate the Select Element has the attribute fs-list-element="list", the filter interprets it as just another list to filter.

To prevent this, you’ll need to define an instance for the list.

You can do this by either:

  • Adding fs-list-instance="IDENTIFIER" to both the Collection List and the Select Element,\

  • Adding fs-list-instance="IDENTIFIER" to a common parent element of both the Select and List elements.

Could you try setting an instance and let us know how it goes?

If you need further help, @Support-Luis or @Support-Pedro are happy to assist!

2 Likes