Skip to content

Commit

Permalink
Update Dynamic/Types/AttachmentType.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored Apr 30, 2024
1 parent 79bc88c commit afa78b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dynamic/Types/AttachmentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit afa78b9

Please # to comment.