I have a project about the vacancies in hybrid business, so the app is to search for a job in different projects and all.
I have a page with the catalogue of jobs that should be filtered by the type of employment, work schedule and I use checkboxes to filter data in the repeating group
but the trouble is that it doesn’t filter at all.
It seems to be very simple, but I cannot catch the solution. I’ve tried to make it just like in this video and comments to it https://www.youtube.com/watch?v=gBET3ZKdYR0&feature=youtu.be, but it doesn’t work. I suppose, that the key might be in data app, but don’t know where can be a mistake.
So what i need in sum:
All data in the repeating group should be initially visible, and the checkboxes should be used for filter through those pillars, that have for now.
The ability to select multiple parameters (that’s why i choose checkboxes)
Here’s the parameters i have for the checkboxes if it can help somehow
Getting this to work effectively will depend on how you have set up the data source in your RG. Can you share screen shots of that, or even better link to your app.
where the text field is in the result’s custom state per this.
Then in the workflows for your checkboxes, all you’ll need to do is plus or minus them from that custom state, and that should do it nicely.
Also, as an additional point:
Your organization is highly inefficient as you are doing 2 search for’s within the RG. You shouldn’t need to do any searches if you have your data set up correctly. But even with your existing data structure, put the image and the text into the same group and then do the search in the group, with each element using the parent group’s content.
as for plus-minus items : it’s already done and there’s no any reaction on clicking on them in preview
as for “search for” in RG - i’ve already changed it to the right one.
If the value IS checked when the element is clicked, then you want to MINUS it.
If the value IS NOT checked when the element is clicked then you want to PLUS it.
Here’s a good trouble shooting tip:
Add a text element to your page and make it dynamic with the appearance of Result’s custom state. Then you can see if the problem is due to the custom state not being updated. If it does get updated then the problem is with the RG. If not, then the problem is with the updating of the custom state.