F
Filament5mo ago
Sydd

Requiredif multi select is empty

Dear all, if somebody know how to validate field with required if another multiple select is empty. I'm try few ways but nothnig works.. ->requiredIf('job_factors', [], true) ->requiredIf('job_factors', '[]', true) ->requiredIf('job_factors', null, true)
2 Replies
Sydd
SyddOP5mo ago
Thanks bro, this is also one possibility of achieving the result

Did you find this page helpful?