ElasticUI
ElasticUI copied to clipboard
Impossible to use more than one searchbox
Scenario:
Build an application with 2 search boxes like this:
Run the application. Enter a value in the 1st search box ==> The filter 1 is well applied (OK) Enter a value in the 2nd search box ==> The filter 2 is well applied but not the filter 1 (KO) Remove the value in 1st search box ==> No filter applied (KO)
The expected result is: Enter a value in the 1st search box ==> The filter 1 is applied Enter a value in the 2nd search box ==> The filter 1 and are applied Remove the value in 1st search box ==> The filter 2 is applied
Thank you very much for this component. Just one more question, is this component still maintained?
Hi,
Just for information, I found a workaround by transforming queries (except one) in filters like this: <input id="search_NODETYPE" type="search" class="form-control validate alex elasticfilter" eui-filter="ejs.QueryFilter(ejs.QueryStringQuery(querystring_NODETYPE).defaultField('NODETYPE'))" ng-model="querystring_NODETYPE" eui-enabled="querystring_NODETYPE.length"/>