Commit 37e0907d9c212997b7fbec62b6796f8aee972797
1 parent
255c98ce
- select2
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
frontend/views/support/search.php
... | ... | @@ -32,6 +32,7 @@ |
32 | 32 | 'options' => [ |
33 | 33 | 'placeholder' => \Yii::t('app', 'Почніть вводити назву книги'), |
34 | 34 | 'multiple' => false, |
35 | + | |
35 | 36 | |
36 | 37 | ], |
37 | 38 | 'toggleAllSettings' => [ |
... | ... | @@ -41,6 +42,9 @@ |
41 | 42 | 'allowClear' => true, |
42 | 43 | 'minimumInputLength' => 3, |
43 | 44 | 'language' => [ |
45 | + 'inputTooShort' => new JsExpression( | |
46 | + "function () { return ''; }" | |
47 | + ), | |
44 | 48 | 'errorLoading' => new JsExpression( |
45 | 49 | "function () { return 'Зачекайте...'; }" |
46 | 50 | ), | ... | ... |