I have a searchbox which searches for first names in a catalog with a lot of data, so some names are not appearing just once.
What I want is for the searchbox to make a distinction for each name and not show me, let’s say the name George, in a list fifteen times when I search for it, but instead just once.
Take as an ideal scenario this: Someone types the first two letters of the name name they’re looking for, but there are two names in the catalog starting with the same two letters with thirty data entries for each name. If I can have a distinction between names there should be only two names showing on my list and not sixty.
If there is any other way through some other element to do that, considering it will be a viable solution for big data in terms of speed (think of, maybe, millions of data entries) I’m willing to consider that too.
One option would be to create a datatype just for firstnames… and just add new entries when new firstnames add added (or iterate over your existing data to create the firstname entries, ensuring they are unique).
Alternatively, it’s not that hard to create your own searchbox element (either with a Bubble input and a group focus with an RG, or with your own html element).
Then you can use whatever data source you like (ensuring it only displays unique firstnames).
There are no doubt some plugins available if you don’t want to do it yourself.