Skip to content

Commit

Permalink
NEW Validate DBFields
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Oct 2, 2024
1 parent 74f9efa commit a4147cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Forms/UploadField.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public function performDisabledTransformation()
* @param Validator $validator
* @return bool
*/
public function validate($validator)
public function validateWithFormValidator($validator)
{
$maxFiles = $this->getAllowedMaxFileNumber();
$count = count($this->getItems() ?? []);
Expand Down

0 comments on commit a4147cb

Please sign in to comment.