You can use the Combo Box as the Search Field, you just need to change the fs-cmsfilter-field="bolag, orgnummer, tingsratt"from the previous Search Field to the “fs-combobox_input” element and it will work as a Search Field and a Combo Box.
It should look like this, you can replace the previous Search Field with the Combo Box:
Hi again @Support-Pedro , thanks a lot for looking into this!
Something weird is going on. I could make the Combo Box work with CMS Select (thanks!), BUT it can take up to 2-3 minutes after the staging site loads for the list to populate. Until then, all you see is “No results found” and the template text “Option value”. Please see below screen recording (I advice you to fast forward to the end).
What could be wrong here? Does it interfere with the other filters or something like that?
( Edit: CMS Select works without any delays. It is when I combine CMS Select with a Combo Box that the delay appears. )
And just for clarification if it is of any importance:
My plan is to offer the additional search filters for registered users (I will gate the accordion with Memberstack), so I need the big search field (element is called Main Search Field) to work together with the gated filters. I don’t want to replace the main search field with a combo box.
I checked the page and i had no delay with the CMS Select, i added fs-cmsfilter-field="tingsratt" in the ComboBox Input and both Search FIelds worked fine.
Edit: After writing this, I tried the “Speed boost”, after which the filters suddenly started working almost instantly. Is the size of my collection the issue here?
Hi there @Support-Pedro
It seems that whenever I combine CMS Filter with CMS Load (with my +3000 items), it takes a LONG time before the filters populate.
I’ve put the Combo Box aside for now just to try a more simple solution. Take a look at the staging site and try how long it takes for the select dropdowns to populate.
Hey @Jacob_B! Yes, the size of the collection and the data within each collection item can impact loading times.
To optimize this when using CMS Filter, it’s best to set the load mode to pagination, activate the speed boost, and enable cache. Note that the caching option is only applicable if the Collection List is not dynamically populated through Webflow’s CMS API.
Let us know whenever you’d like to re-integrate the Combobox solution!