forked from wallabag/wallabag
@ -60,6 +60,7 @@ class Annotation
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(
|
||||
* max = 10000,
|
||||
* maxMessage = "validator.quote_length_too_high"
|
||||
|
||||
@ -18,6 +18,7 @@ class NewAnnotationType extends AbstractType
|
||||
])
|
||||
->add('quote', null, [
|
||||
'empty_data' => null,
|
||||
'trim' => false,
|
||||
])
|
||||
->add('ranges', CollectionType::class, [
|
||||
'entry_type' => RangeType::class,
|
||||
|
||||
Reference in New Issue
Block a user