Filament Reactive not Working
My repeater component visibility and requiribility is dependant of my select component.
What I do:
1. Make both element reactive
2. Use Callable $get
What I expect:
1. It start with the repeater showing because default value is 1
2. As soon as I change my select value, repeater become hidden because value is no longer 1
3. As soon as I put it back to 1, the repeater pops up back
Problem:
1. Works perfectly
2. Works Perfectly
3. Doesn't want to show it anymore at all
Code:
1 Reply
Try to use
!=
instead of !==
. Livewire uses strings a lot so you can’t go strict comparison