I have setup a nice autocomplete search box. It’s built using the ZQ Fuzzy Search and autocomplete plugin.
Everything is housed inside a reusable element: The input element, group focus drop down, repeatable group, hidden ZQ Fuzzy Search and autocomplete element, and all the workflows.
When I have the reusable element displayed once on the page, it works great.
But when I have multiple instances of the reusable element on my page, it stops working. The drop down does not appear 9 times out of 10, and when it does it usually has search results populated from the wrong input instance.
Is this a known limitation of the plugin? Any idea how to fix it?
So, please make sure that the Input Search element and Search Autocorrect element have the same ID in the Attribute ID and Input box ID fields of the first Reusable element.
The ID in the Attribute ID and Input box ID fields of the second Reusable element should be different as in the first one. Please see screenshots as a reference below.
Hey thanks for the screenshots and for looking into this.
But I’m not sure how you’re able to change the settings each time you add another instance of the reusable element to your page.
The reusable element has the Attribute ID and Input box ID settings baked into its design. Therefore each copy of the reusable element on your page will have the exact same Attribute ID and Input box ID.
Are you suggesting that I clone the reusable element every time I want to add it to my page, and adjust those settings? That seems to defeat the point of making a reusable element in the first place.
Could you please share the steps you did while testing to reproduce them and find out what is going wrong? The plugin element settings screenshots and the result screenshots would be super helpful. Thanks.