Skip to content

Commit

Permalink
chore: add missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland committed Sep 8, 2024
1 parent 23ce11b commit a740796
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Filament/Resources/GameResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ public static function form(Form $form): Form
->acceptedFileTypes(['image/jpeg', 'image/png', 'image/gif'])
->maxSize(1024)
->rules('dimensions:width=96,height=96')
->validationMessages([
'dimensions' => 'The game icon must be 96x96 pixels.'
])
->preserveFilenames(),
])
->collapsible()
Expand Down

0 comments on commit a740796

Please sign in to comment.