Hi community, I am facing a problem that I haven’t been able to solve and would like to know if it is possible to collapse a repetar’s item without using the query/filter methods of the dataset, let me explain:
I have a dataset that have a location type property called mapLocation , when someone wants to add a new item to the dataset you can add a postal code/city/address/etc and the field would recommend some options as shown below:
I am able to read such information in an object like this one:
The thing is that based on location (latitude and longitude) I would like to filter my dataset/repeater in order to show just the items that are 10km around the selected location, retrieved from a google maps input field on my page. Since the information contained on the dataset is nested in an object I can not use filter/query methods.
I have all the logic figured out on how to show/hide/collapse/expand the item, the thing is, that I haven’t found yet any way to do such actions to a whole item(container) of my repeater.
Does anyone has an idea on how to accomplish this? Thank you in advance.