File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/bundle/Resources/public/js/scripts/core Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,12 @@ import { getRestInfo } from '@ibexa-admin-ui/src/bundle/Resources/public/js/scri
127127 return container . querySelector ( 'div' ) ;
128128 }
129129
130+ handleSuggestionsFetch ( ) {
131+ if ( this . inputNode . value . length >= MIN_QUERY_LENGTH ) {
132+ this . getSuggestions ( this . inputNode . value ) ;
133+ }
134+ }
135+
130136 handleInputKeyUp ( event ) {
131137 super . handleInputKeyUp ( event ) ;
132138
@@ -136,9 +142,7 @@ import { getRestInfo } from '@ibexa-admin-ui/src/bundle/Resources/public/js/scri
136142 return ;
137143 }
138144
139- if ( this . inputNode . value . length >= MIN_QUERY_LENGTH ) {
140- this . getSuggestions ( this . inputNode . value ) ;
141- }
145+ this . handleSuggestionsFetch ( ) ;
142146 }
143147
144148 init ( ) {
You can’t perform that action at this time.
0 commit comments