F
Filament11mo ago
Rukmi

Form Validation: User must select value from Select box or must enter atleast 1 repeater

I want to implement validations so user must select values from either Roles or must add values in repeater. Does anyone have any suggestions to it? #v3 #Form validation
No description
Solution:
->live()
->required(fn($get) => empty($get('warehouses')))
->live()
->required(fn($get) => empty($get('warehouses')))
...
Jump to solution
1 Reply
Solution
toeknee
toeknee11mo ago
->live()
->required(fn($get) => empty($get('warehouses')))
->live()
->required(fn($get) => empty($get('warehouses')))
and
->live()
->required(fn($get) => empty($get('roles')))
->live()
->required(fn($get) => empty($get('roles')))
Want results from more Discord servers?
Add your server