Services Plugins FAQs

Search&Autocorrect not working when Text to Match passed as page parameter

I am setting up a “Search” page, which works like this:
The user types a text in the header’s “Search” input, and when they click the Search button, it takes them to /search (on my app /kerko, different language) and the search input is passed as a parameter to be used on the /search page from the Search&Autocorrect element.

On the /search page, the Search&Autocorrect element returns 0 matches on page load. When I open my console, I see the “database not loaded” message, and I’m assuming that’s why I see 0 matches. When I resize the window which I guess does a refresh of the elements, I get my matches.

It won’t let me post the link to the Loom screencast, so I put it as code:

https://www.loom.com/share/9461a4c5fd3c40d989894ed38eb87fbd?sid=c90e8e17-84a5-4bb4-871f-3ec92b13fbc6

Hello everyone,

We have already discussed this concern with Ador on Slack platform, and found that the cause was the plugin version used in plugin. If you will encounter simillar problems please make sure you use the latest version.

Also if someone will need such use-case, I have set up a test page here[link]. Please refer to this loom video[link] for guidance on how to use it.

I hope this information will be helpful for others as well!

Wish you all the best!

Regards,
Stefan

1 Like