F
Filament6mo ago
krkmo

How to get the value of an attribute in a repeater with relation?

I have two models Year and Periods, they are related from one to many. But with the Get $get attribute I get null value of year in the repeater.
No description
4 Replies
Robbyn R
Robbyn R6mo ago
have you tried ->live() on your TextInput?
krkmo
krkmo6mo ago
I read that documentation but it didn't work for me. $get('../year') or $get('../../year')
Vp
Vp6mo ago
You need to put ->live() in year TextInput like robbyn said