Issue #3436072 by omkar.podey, narendraR: Add validation constraints to text.settings

(cherry picked from commit 9555002a53)
merge-requests/7287/head
Alex Pott 2024-03-28 09:45:18 +00:00
parent d82e52c0cf
commit e140d4a00d
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 6 additions and 0 deletions

View File

@ -3,10 +3,16 @@
text.settings:
type: config_object
label: 'Text settings'
constraints:
FullyValidatable: ~
mapping:
default_summary_length:
type: integer
label: 'Default summary length'
constraints:
NotNull: [ ]
Range:
min: 1
field.storage_settings.text:
type: mapping