Added flash message when we try to add to much tags

This commit is contained in:
Nicolas Lœuillet
2023-06-13 11:24:27 +02:00
parent c4de437105
commit 96cf34f730
3 changed files with 11 additions and 2 deletions

View File

@ -12,6 +12,7 @@ use Wallabag\CoreBundle\Entity\Tag;
class NewTagType extends AbstractType
{
public const MAX_LENGTH = 40;
public const MAX_TAGS = 5;
public function buildForm(FormBuilderInterface $builder, array $options)
{