Dynamic select within a repeat

I have a repeating table with two selects in them for; Category & Sub-Category.
When category is selected then it filters the sub-category (normally not a problem)

But in the repeat region it is changing all of the subcategories.
I need them to work independently within the repeat, is this even possible?
I am guessing it may be something to do with dmx-bind ID but I just cannot get it to work.

@Teodor I don’t know if you could shed some light on this?

So how do you do that exactly?

So I have found the solution, just in case anyone has this issue.
Was quite simple in the end, not sure if it the right way, but it works.
One the sub-category it is set to load with the data source set to:

filter_subcategory.data.query.where(`catergory_id`, inp_sel_cat.value, '==')

As I’ve said not sure if this is the correct way, but it works :slight_smile: