Open Nuhel opened 3 months ago
Hi @Nuhel ,
You can use
ImageLibraryPicker::make('images')
->label('')
->multiple()
->rules('array|max:5')
->required()
This wil validate the array.
I will look into a better UX experience in a future update where the user will not be able to select more items if the limit has been reached. I will than add a message or a counter to notify the user about the max selection.
ImageLibraryPicker::make('images') ->label('') ->multiple(true) ->required()
How to set max limit for this?