Hi @Mark@david, I’m working on an app template and @Deena gave great feedback about the limitation of the search bar.
Apparently, when users type to search products, only the product title, product description and price is searchable from the list.
I would like for users to search the product based on other fields (like category, brand, etc.) I tried to create additional text field and populate them to test of the search bar would pick up on the terms but it didn’t work.
I assumed that the search bar only works on searching text fields from a record but in practice it doesn’t seem to be the case.
Can you shed any light on how the search bar function works?
I’m hoping some insight will allow me to create a workaround so that users can search by other terms than just the price, product and description.
A link to the app is below if you’d like to test for yourself.
I gave that feedback based on my experience that search of an inline list will return results from any words on the details pages which is amazing and exactly how it should be…so I’m surprised! Great to ask for the official answer!
but I don’t want the data from that column to appear in the app
Is there any CSS code that will hide say “caption” or does anyone have another solution?
I’d have your sit down and work out the exact code, but I think you can use a template column to wrap your no accent text is in div tags with a css style of no display. Put that in a rich text component in the details screen for the list items instead of the list itself.
Basically something like this, but without the checkbox part in the examples. Looks like there are a few ways to try it.
Basically we are trying to get the value of the details screen, but not visible. This should allow glide to search that column value without it being visible.
You could try the built in visibility settings on a rich text component, but I’ve always been under the impression that it had to be a visible component for search to look at that column value. The div trick would work around that.
Yes, it should return that item since it has “golf” in the header… Try unchecking the search bar and then re-checking it then typing “golf” to see if it resets it.
If not then maybe something to do with your filters, but I can’t see why that would affect it if it it’s displaying correctly
Weird. It’s working now. I did try your uncheck/recheck trick when I first posted to this thread. Perhaps it took a few mins to regenerate the search index hence working now? I’m guessing so. Anyway, all good now!
It’s not picking up on values that are inside the details pages. It picks up only the “front” page in which the search bar is located. Any other way to “rest” it?
Also, our of curiosity, how unstable is this search bar? i.e. how frequent does it need resetting?
The search bar is stable. I’m guessing Lisa was just suggesting something to try.
Do you have an inline list on the screen, or more than one list? You can enable or disable search on the inline list component itself. What are you trying to search? Is the value you are trying to search actually visible on the detail screen of the list item?
Perfect!
Tried the off-on toggle, but it didn’t work
Yes.
For example, find a client by phone number. The inline list of the “clients” screen is showing the client name and similar high level values, but not the phone number.
I would be surprised if there was actually a bug, but I won’t rule it out. As far as I know, there has never been any sort of issues with the search. I’d be more inclined to think that something isn’t configured correctly, but it’s hard to say without see how everything is set up in your app. If you truly feel that there is a bug, then you can submit a ticket to Glide support.