diff --git a/src/Form/AddSectionToLibraryForm.php b/src/Form/AddSectionToLibraryForm.php index a2a3b4a0cd8ca8fe97c91a14deec855909cf8c2e..740ef87b50a2f6ae0bfc52256ad66b2404381243 100644 --- a/src/Form/AddSectionToLibraryForm.php +++ b/src/Form/AddSectionToLibraryForm.php @@ -108,7 +108,7 @@ class AddSectionToLibraryForm extends FormBase { $form['label'] = [ '#type' => 'textfield', '#title' => $this->t('Label'), - '#maxlength' => 255, + '#maxlength' => 50, '#default_value' => '', '#required' => TRUE, ]; diff --git a/src/Form/AddTemplateToLibraryForm.php b/src/Form/AddTemplateToLibraryForm.php index 305e8095c7a8890ac667c1dab48958a3741c0799..aa8900f0cf16478a7aab138b46a80943385f8530 100644 --- a/src/Form/AddTemplateToLibraryForm.php +++ b/src/Form/AddTemplateToLibraryForm.php @@ -108,7 +108,7 @@ class AddTemplateToLibraryForm extends FormBase { $form['label'] = [ '#type' => 'textfield', '#title' => $this->t('Label'), - '#maxlength' => 255, + '#maxlength' => 50, '#default_value' => '', '#required' => TRUE, ];