Merge remote-tracking branch 'origin/2.5.x'

This commit is contained in:
Jeremy Benoist
2023-04-24 14:36:32 +02:00
18 changed files with 614 additions and 472 deletions

View File

@ -11,6 +11,8 @@ use Wallabag\CoreBundle\Entity\Tag;
class NewTagType extends AbstractType
{
public const MAX_LENGTH = 40;
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
@ -18,6 +20,7 @@ class NewTagType extends AbstractType
'required' => true,
'attr' => [
'placeholder' => 'tag.new.placeholder',
'max_length' => self::MAX_LENGTH,
],
])
->add('add', SubmitType::class, [