How to make a rule "in" of a multiple select
I have the following code:
When I submit the form I get the error:
The middlewares field is not in the list of allowed values.
In Laravel, to validate an array, you use middlewares.*
, but I don't know how to do it in filament8 Replies
Did you try an actual array?
Not a comma separated string
same problem

It works if the multiple is removed, but when adding the multiple it gives me that error
Ah. Makes sense, because it's an array. Maybe that's a bug
In Laravel, if it is a validation of an array, the
field.*
is used, but if filament does not support this, I will have to do a manual validation
actually, dont we have nestedRecursiveRules() for this?
I think the filament doesn't have support for this case, I also tried with but it doesn't work