ElasticUI icon indicating copy to clipboard operation
ElasticUI copied to clipboard

Impossible to use more than one searchbox

Open miraks31 opened this issue 8 years ago • 1 comments

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?

miraks31 avatar Nov 24 '16 17:11 miraks31

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"/>

miraks31 avatar Nov 28 '16 07:11 miraks31