Problem with "Search & autocorrect" plugin

It does not work when I use List of texts as a source.
I mean, “Matches” are empty.
When I use another type of thing, for example, one of my DB tables, then it works.

3цув

Please, help

I noticed this too and I need this functionality. I love using this plug in to filter out my Repeating Groups, but I need the same ability to filter results of a List of Texts urgently. Please follow up with any information about this. Thank you!

@ZeroqodeSupport any news? im getting the same issue

The plugin ZQ Fuzzy Search & Autocomplete / element Search & Autocorrect threw the following error: TypeError: current_object.get is not a function
at Object.makearray (PLUGIN_1553006094610x835866904531566600/ZQ-Fuzzy-Search—Autocomplete-update–Search—Autocorrect-.js:46:39)
at Object.loadFuzzy (PLUGIN_1553006094610x835866904531566600/ZQ-Fuzzy-Search—Autocomplete-update–Search—Autocorrect-.js:60:23) (please report this to the plugin author)

Hello, @yorgio1024
Thanks for reaching out.

The most probable reason for this error - the Data Source of your RG or plugin element.
Thus, allow us to recommend you to investigate the documentation for the plugin firstly: https://docs.zeroqode.com/plugins/zq-fuzzy-search-and-autocomplete

Also, please provide us the next information:

  • Screenshots of your current settings for the input, plugin element and RG;
  • Steps for reproducing your error.

Looking to hearing from you soon.
Best regards,
Zeroqode Support Team

This is my setup, was working if use a data type different of text

Hello, @yorgio1024
Thanks for the screenshot.

First of all, please note that here you should indicate the DataType of the entries you are searching for.

Please note that such DataSource could be confusing for the plugin and Bubble platform itself since it is too complicated. Our plugin works only with the Text entry format, so it means that each entry, you are searching through the DataBase, should be in Text Format.

Please find the screenshots of our settings below:



Can you please let us know in which cases the plugin works on your side?

Looking to hearing from you soon.
Best regards,
Zeroqode Support Team

Hello there,

I am using this plugin and It works very well. Just notifying a minor problem:
When using It with lists(from repeating group) as data source, if you try to use backspace it stops working, It will not filter anymore until you clear the input field. If you are using It with database search this behavior won´t happen and the filter will keep working if you use the backspace key.

Thanks

1 Like

Hello @daniel45,
Thanks for reaching out!

It’s because when you try to apply to filter the results in the repeating group (returned by the plugin), you are trying to apply that filter to the data source which is not existing on the page. Since the data source of the Results RG is Fuzzy search Matches, filtering is not working on it because you have no such setup on your RG’s Data Source.

What we can recommend here:

  • show the search only after the user has chosen at least one filter. It will limit the user.

  • set up the RG Results Data Source filtering the Fuzzy Matches results after some filter was applied (you can transmit the chosen filters into the custom state and then apply: filtered operator to the Fuzzy’s Matches; or any other preferred method). For example - Screenshot by Lightshot

If you have any further questions, please let us know.

Best regards,
Zeroqode Support Team

1 Like

Thank you for your response! I solved It using a custom state as a copy of the original repeating group list. This custom state in being used as data source to the fuzzy plugin.
Everything is working well now.
Thanks!

1 Like

I don´t know if It is technically possible, but I would like to suggest an improvement to your already fantastic plugin! It would be perfect when the input field attached to plugin search is empty make the matches correspond to the complete list used as source . If It is possible the plugin would be the source to the repeating group in all situations, doing a search or not.

English is not my main language, so if I am not clear with my suggestion please let me know!
Thanks

@daniel45 You can already do this by making your Repeating Group have a data source of the full list. Then put a condition on it so when the input’s able is not empty, then use the plugin’s matches as the datasource.

2 Likes

Thank you for your response! I do know about this possibility, but there are situations when you are using fuzzy filter with other filters, and in these cases you have to replicate all conditional data sources in the repeating group and in the search&autocorrect plugin. Only in these cases It would be much easier to use only search&autocorrect as main datasource.

Thanks again!

1 Like

Hello @daniel45,
i had the same problem in two different repeating groups. I solved given problem in following ways:

  1. Define Workflow: When Input “Search” in changing → Clear Repeating Group “XYZ”
    or other solution is
  2. After a user ran a fuzzy search and e.g clicks on any other button in your app, add a workflow for a group where your search input is located and reset it: Reset Group “Search”

BR
VM

1 Like

Hello all, total newb here. I am also having a problem with using a text source from an onscreen element with the Search & Autocorrect plugin (e.g. directly from a CS list in a multiline input element or from a RG list populated with items from the multiline input list). Like the OP and others, I can get the search to work fine with information from a database. I can also get a normal, unfiltered, search to produce results using either an RG or ML input, but when I use either of those sources as the data source for the Search & Autocorrect plugin, I get an empty result when I try and run a search. As suggested above, I’ve tried saving my RG list to a custom state and using that as the data source for the plugin, but that also does not work.

Will see if I can upload some screen shots.

My ultimate goal is to be able to search an inventory list kept as a list in some sort of on-screen text element so as to minimize WU. It seems that using the embedded searchbox in bubble to search my database uses up a substantial load of WU just to do the search since I have tens of thousands of items with common name elements (i.e. using the bubble searchbox to search the database returns hundreds of results, even when searching with full words. I need people to be able to search the whole database without a variety of subset filters and, as best as I can tell, people potentially doing hundreds of searches a day is going to kill me on WU, so I want to search off of a simple on-screen text list before diving into the DB to retrieve a selected item.

Here’s the whole workflow. The input source for the plugin set to an onscreen RG:

The Results RG (embedded in a Group focus element) pulling its results from the plugin:

The text elements in the Results RG that should be showing the search results from the Results RG data:

…and the Source RG custom state being set on page load:

Any help would be greatly appreciated.

Thanks in advance!

Hi @coganp ,

Thanks for reaching out! :pray:

Here are a few steps we recommend checking:

  1. Data Source Setup:
    Ensure you’re passing the correct data to the Search & Autocorrect plugin. For example, you should be using something like Source list RG's content:item #Current cell's index. If you’re utilizing a custom state to store the list, make sure that state is properly set and updated when necessary.

  2. Custom States:
    If you’re using custom states to hold the RG data, double-check that the state is being set correctly. It can be helpful to add debug outputs to verify that the data is being passed as expected.

  3. Simplify the Test:
    Start with a basic static list of text to test whether the search function works in that scenario. If this works, the issue might be related to how you’re managing the RG data or passing it to the plugin.

  4. Debugging:
    Leverage the Bubble debugger to confirm that the data is available in the custom state and that it’s being passed correctly to the plugin.

If you’re still encountering issues, we recommend checking out our demo page to compare your setup with a working example.

We hope this helps! Please don’t hesitate to reach out if you need further assistance. :blush:

Regards,
Support Team
Browse all Zeroqode Plugins for Bubble

Banner_Last3