Help ! Repeating group and search (how it works?)

Hello :slight_smile:

I’m creating my first project with Bubble and I imported my database (It contains 1240 cities, with multiples entries).

I want to create an input with a repeating group and display the cities for which the text entered in the input is inside the city name.

I’ve been creating the input, the repeating group, and the text repeating. But when I put a part of the city name, it’s not working as I want.

For example : I have 5 cities in my database beginning with “Tou”, the cities are “Toul, Toulon, Toulouse, Tourcoing, Tourlaville”.
And :

  • when I put “Tou” noting happen.
  • when I put “Toul”, the city of Toul display only, not Toulon and Toulouse.
  • when I put “Toulou”, the city of Toulouse is displayed.

Well, I don’t know why and how the “contains” is working. May someone already had this problem and can help me ?

Thank you for your help :slight_smile:

Hey @mzdlo

Cadeau ! :wink:
Demo : https://ambroisetestapps.bubbleapps.io/version-test/rg-search
Editor : https://bubble.io/page?type=page&name=rg-search&id=ambroisetestapps&tab=tabs-1

Let me know if that helps

Ambroise

Need extra help?

Book a free 15 minutes call - happy to help if I can

1 Like

Hello @ambroisedlg,

Merci bcp ! :slight_smile:

It’s working, I didn’t knew about this plugin. So there’s no other way to do this without plugin ?

Thanks a lot !

Hey @mzdlo

There are other ways to do this, but this plugin is the most efficient one to do a search per character.

Glad you got it working!

Ambroise

Need extra help?

Book a free 15 minutes call - happy to help if I can

1 Like

You can use :extract with Regex to do partial searches without using any plugin.

2 Likes