Просмотр исходного кода

extended earch form text field to maxlength 150

bach 3 лет назад
Родитель
Сommit
1e345cd515
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/modules/custom/materio_sapi/src/Form/MaterioSapiSearchForm.php

+ 1 - 1
web/modules/custom/materio_sapi/src/Form/MaterioSapiSearchForm.php

@@ -27,7 +27,7 @@ class MaterioSapiSearchForm extends FormBase {
     $form['search'] = [
     $form['search'] = [
       '#type' => 'textfield',
       '#type' => 'textfield',
       // '#title' => $this->t('Search'),
       // '#title' => $this->t('Search'),
-      '#maxlength' => 64,
+      '#maxlength' => 150,
       '#size' => 25,
       '#size' => 25,
       '#weight' => '0',
       '#weight' => '0',
       '#attributes' => [
       '#attributes' => [