mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #12772 from pgerundt/3.x
BaseFileUpload.php: No custom validation message (for mimetypes)
This commit is contained in:
@@ -600,7 +600,7 @@ class BaseFileUpload extends Field implements Contracts\HasNestedRecursiveValida
|
||||
$validator = Validator::make(
|
||||
[$name => $files],
|
||||
["{$name}.*" => ['file', ...parent::getValidationRules()]],
|
||||
[],
|
||||
["{$name}.*" => $this->getValidationMessages()],
|
||||
["{$name}.*" => $this->getValidationAttribute()],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user