From afa78b9efa611693a3d28d86ba2c72c7417d7a5b Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Tue, 30 Apr 2024 11:02:26 +0200 Subject: [PATCH] Update Dynamic/Types/AttachmentType.php --- Dynamic/Types/AttachmentType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dynamic/Types/AttachmentType.php b/Dynamic/Types/AttachmentType.php index bcfd9c42..58f5ab52 100644 --- a/Dynamic/Types/AttachmentType.php +++ b/Dynamic/Types/AttachmentType.php @@ -81,7 +81,7 @@ public function build(FormBuilderInterface $builder, FormField $field, string $l 'max' => $fileMax, ]); - // TODO : Remove when a new major is release and tell user to migrate to data-max attribute + // @deprecated remove when a new major is release as max is not supported by input[type=file] $options['attr']['max'] = $fileMax; $options['attr']['data-max'] = $fileMax; }