This is an automated email from the ASF dual-hosted git repository.

ababiichuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a61386c  [AMBARI-23578] - Log Search UI: open the available search 
terms list in search box when the input got focus
a61386c is described below

commit a61386c9acaa0485567be5c3fe17d697c4ee04af
Author: Istvan Tobias <tobias.ist...@gmail.com>
AuthorDate: Fri Apr 13 17:47:53 2018 +0200

    [AMBARI-23578] - Log Search UI: open the available search terms list in 
search box when the input got focus
---
 .../src/app/components/search-box/search-box.component.html             | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/ambari-logsearch/ambari-logsearch-web/src/app/components/search-box/search-box.component.html
 
b/ambari-logsearch/ambari-logsearch-web/src/app/components/search-box/search-box.component.html
index 2b462bf..f93f411 100644
--- 
a/ambari-logsearch/ambari-logsearch-web/src/app/components/search-box/search-box.component.html
+++ 
b/ambari-logsearch/ambari-logsearch-web/src/app/components/search-box/search-box.component.html
@@ -31,11 +31,13 @@
 <div [ngClass]="{'search-item-container': true, 'active': isActive, 'value': 
isValueInput}">
   <input #parameterInput [(ngModel)]="currentValue" [typeahead]="items" 
typeaheadOptionField="value"
          [typeaheadItemTemplate]="listItemTemplate" 
(typeaheadNoResults)="setParameterNameMatchFlag($event)"
+         [typeaheadMinLength]="0"
          (typeaheadOnSelect)="changeParameterName({item: $event.item, 
isExclude: false})"
          (focus)="onParameterInputFocus()" (keyup)="onParameterKeyUp($event)"
          class="search-item-input parameter-input form-control">
   <input #valueInput [(ngModel)]="currentValue" 
[typeahead]="activeItemValueOptions" typeaheadOptionField="value"
          [typeaheadItemTemplate]="listItemTemplate" 
(typeaheadNoResults)="setParameterValueMatchFlag($event)"
+         [typeaheadMinLength]="0"
          (typeaheadOnSelect)="onParameterValueChange($event.value)" 
(keydown)="onParameterValueKeyDown($event)"
          (keyup)="onParameterValueKeyUp($event)" class="search-item-input 
value-input form-control">
 </div>

-- 
To stop receiving notification emails like this one, please contact
ababiic...@apache.org.

Reply via email to