Closed mnlmaier closed 3 years ago
Hi guys,
I have this code: BelongsToManyField::make('Values', 'values', 'App\Nova\Value')->rules('required', 'min:1', 'max:5', 'size:3'),
BelongsToManyField::make('Values', 'values', 'App\Nova\Value')->rules('required', 'min:1', 'max:5', 'size:3'),
Still i can attach more than 5 values, also, the "required" property is not respected. Am I missing something here?
bump
This actually works, update your version or check nova core specific.
Hi guys,
I have this code:
BelongsToManyField::make('Values', 'values', 'App\Nova\Value')->rules('required', 'min:1', 'max:5', 'size:3'),
Still i can attach more than 5 values, also, the "required" property is not respected. Am I missing something here?