Dynamically Hidden Repeater Is Not Working
I have a repeater which visibility is dependent to another select field.
This is the specific code
This is my select field
I've tried using instead of
6 Replies
I think you need to get one level down
I've dumped $get('exercise_type_id') and it's working as expected. But the value is only being updated on page load.
For example if I set the default value of my select to id of 1/2/3, it will obtain that value. But after page load finished, If I change it by form, the repeater does not get updated.
It just like the id checking only happening on mount() and not render()
I'm so lost and feel defeated xD I've been stuck on this problem for 2 days which I think is fairly simple
Solution
i don't see
live()
OMG, I don't even know I need to use live() flag. Thx!!!
If want it to be reactive you need it
It's a livewire feature