problem with Repeater
I have problem with repeater. when im using just selection, filter works fine but when i use this same selection inside the repeater its not filter right. there is both code
13 Replies
i have logic that if i choose supplier(another selection) its takes next brand by supplier.brand_ids
and this logic doesnt works like
its alwyas get all brands
I think you need
$get('./supplier_id')
because otherwise it's looking for the field inside the repeater
Maybe also $get('../supplier_id')
neither doest works
Check what
$get
returns and start debugging from there.its return null
i try ../ ./ but not works for that
wwhy its cant read it..
any idea? @Dennis Koch
Not really. Can you share the rest of the form?
there is full form š
down of Repeater i have same select for brand
there everything works but
in Repeater i have same select and also Textinput for amount
problem is that inside the repeater 'supplier_id' is alwyas null
$get('../supplier_id')
should be the right one in this case.it not working
i try ../ also ./
but not working..
../../
works..
huh thanks
Hm, weird. You're only 1 level deep? Or did I overlook something? š¤
idk i just try ~/ also ./ ../ but at last
../../ this worked d
i have no idea why or how but
its works so who gives a fuck
š