Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
neohitokiri authored Dec 8, 2023
1 parent dc6206d commit b9751ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Field/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Image extends File
*
* @var string
*/
protected $rules = 'image';
protected $rules = 'image|mimes:bmp,jpg,png,jpeg,gif,svg,webp';

protected function setType($type = 'image')
{
Expand Down

0 comments on commit b9751ed

Please sign in to comment.