Finsweet Attribuutes V2 List Filter, Tag Relating to search Bar shows *

Hey,
I just moved over to Attributes V2, and have implemented the List Filter. Problem being that when the tag shows the current filter it pulls from the Filter Name, and when using the Search Bar which searches all filters, then the Filter name shows up as “*”. is there any way to hide this, or preferably change the tag label to “search”?

You can just delete the element where you are displaying that active filter name, it’s not required.

Then you can add in a text element that says "Search: " before the active filter value or something like that if you want.

If i understood correctly that would only work if i only had a search option, however i do also have other filter options, and for those i would want it to show the active filter name.

Got it! So after some digging into finsweets source code, it turns out there is an attribute “fs-list-tagfield” that you can add to the search input element (the one with “fs-list-field=‘*’”) & set equal to whatever custom text you want like “Search”.

Not sure why finsweet doesn’t mention this on their docs because it’s definitely useful. It was fun to dig into regardless!

1 Like

Nice find @lukev! I’ll have to add that to my notes.

1 Like

Great!
Would you also happen to have seen if there is any way to split the tags, with each active filter being as a seperate tag element, like it was in Legacy. (In V2 only different filter labels are split not each filter, and so also clearing each filter seperately from the Tag is not possible.) Not sure why they changed it in V2.