Visman 2 лет назад
Родитель
Сommit
caf684e67a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Models/Pages/PostFormTrait.php

+ 1 - 0
app/Models/Pages/PostFormTrait.php

@@ -91,6 +91,7 @@ trait PostFormTrait
             'required'  => true,
             'value'     => $vars['message'] ?? null,
             'autofocus' => $autofocus,
+            'maxlength' => $this->c->MAX_POST_SIZE,
         ];
         $form['sets']['uesm'] = [
             'fields' => $fieldset,