You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2018/04/16 09:54:32 UTC
[ambari] branch trunk updated: [AMBARI-23578] - Log Search UI: open
the available search terms list in search box when the input got focus
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 <to...@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
ababiichuk@apache.org.