Reactive select => visible Card

I would like to hide my Card Component according to the field chosen in my select
1 Reply
Kenneth Sese
Kenneth Sese2y ago
Try using loose comparison since I believe the values are returned as strings.
$get('payment_type_id') == 1
$get('payment_type_id') == 1
Or you can cast to an integer: (int) $get('payment_type_id') === 1
Want results from more Discord servers?
Add your server