I have been trying to make some apps on this excellent bubble platform and am currently stuck on an issue where I am unable to add a specific food category in a repeating group element that I created. I am basically trying to add a constraint to my search for meals element and I am able to add “Category contains” but I want to add “Chinese” as the category option.
I have attached a screenshot as well.
Any help regarding this would be greatly appreciated.
Assuming your Categories are a custom datatype, you’ll need to search the database for the Category you want in your constraint… you’ll have to search for it using some identifiable field, such as the category name…
So use the following:
Category contains: do a search for Categories (Name = Chinese): First Item
Thank you very much Adam. That really helps and I can now see my options that I had set for Categories. I was just wondering though that now I can add the categories like Chinese for example, but it doesn’t stay on Chinese I have to add “Chinese” then it gives several options including “isn’t empty” which I chose and seems like the likely addition here. Is this correct?