Skip to content

Commit

Permalink
Update BaseFileUpload.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pgerundt authored May 13, 2024
1 parent 4ec3145 commit 1a499df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/forms/src/Components/BaseFileUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ public function getValidationRules(): array
$validator = Validator::make(
[$name => $files],
["{$name}.*" => ['file', ...parent::getValidationRules()]],
[],
["{$name}.*" => $this->validationMessages],
["{$name}.*" => $this->getValidationAttribute()],
);

Expand Down

0 comments on commit 1a499df

Please sign in to comment.