mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Using isdisabled parameter to disable search bar
This commit is contained in:
parent
d471ded89d
commit
94fdee664b
@ -1,4 +1,6 @@
|
||||
<div layout="row" flex class="wz-margin-bottom-10">
|
||||
<input flex id="query" placeholder="{{ placetext }}" ng-class="height ? height : ''" type="text" ng-model="term" ng-change="data.addFilter('search', term)"
|
||||
<input ng-if="!isdisabled" flex id="query" placeholder="{{ placetext }}" ng-class="height ? height : ''" type="text" ng-model="term" ng-change="data.addFilter('search', term)"
|
||||
class="wz-search-bar-size groupsNoMarginTop input-filter-box wz-width-100" />
|
||||
<input ng-if="isdisabled" disabled flex id="query" placeholder="{{ placetext }}" ng-class="height ? height : ''" type="text" ng-model="term" ng-change="data.addFilter('search', term)"
|
||||
class="wz-search-bar-size groupsNoMarginTop input-filter-box wz-width-100" />
|
||||
</div>
|
||||
|
@ -30,7 +30,7 @@
|
||||
</md-button>
|
||||
</div>
|
||||
|
||||
<wz-search-bar class="wz-lateral-padding-16" data="logs" term="searchTerm" placetext="'Filter logs...'"></wz-search-bar>
|
||||
<wz-search-bar isdisabled="realtime" class="wz-lateral-padding-16" data="logs" term="searchTerm" placetext="'Filter logs...'"></wz-search-bar>
|
||||
|
||||
<div flex layout="column" class="md-padding no-padding-top">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user