Search Field "is not" bug
This commit is contained in:
parent
d421a09dfd
commit
4c73a19b12
@ -55,6 +55,7 @@
|
|||||||
<li ref="" class="dropdown-item" v-for="option in filteredOptions" :data-value="option.key">
|
<li ref="" class="dropdown-item" v-for="option in filteredOptions" :data-value="option.key">
|
||||||
<button type="button" class="btn btn-link" @click="onOptionSelected(option.key)">{{ option.value }}</button>
|
<button type="button" class="btn btn-link" @click="onOptionSelected(option.key)">{{ option.value }}</button>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li ref="" v-if="search" class="dropdown-item">
|
<li ref="" v-if="search" class="dropdown-item">
|
||||||
<button type="button" class="btn btn-link" @click="onInputConfirm">{{ searchText }}</button>
|
<button type="button" class="btn btn-link" @click="onInputConfirm">{{ searchText }}</button>
|
||||||
</li>
|
</li>
|
||||||
@ -64,6 +65,7 @@
|
|||||||
<li ref="" class="dropdown-item">
|
<li ref="" class="dropdown-item">
|
||||||
<button type="button" class="btn btn-link" @click="onOperatorSelected('=')">{{ operatorIsText }}<span class="btn-helptext d-none">is</span></button>
|
<button type="button" class="btn btn-link" @click="onOperatorSelected('=')">{{ operatorIsText }}<span class="btn-helptext d-none">is</span></button>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li ref="" class="dropdown-item">
|
<li ref="" class="dropdown-item">
|
||||||
<button type="button" class="btn btn-link" @click="onOperatorSelected('!=')">{{ operatorIsNotText }}<span class="btn-helptext d-none">is not</span></button>
|
<button type="button" class="btn btn-link" @click="onOperatorSelected('!=')">{{ operatorIsNotText }}<span class="btn-helptext d-none">is not</span></button>
|
||||||
</li>
|
</li>
|
||||||
@ -73,6 +75,7 @@
|
|||||||
<li ref="" class="dropdown-item" v-for="(value) in filteredValues" :data-value="value.key">
|
<li ref="" class="dropdown-item" v-for="(value) in filteredValues" :data-value="value.key">
|
||||||
<button type="button" class="btn btn-link" @click="onValueSelected(value.key)">{{ value.value }}</button>
|
<button type="button" class="btn btn-link" @click="onValueSelected(value.key)">{{ value.value }}</button>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li ref="" class="dropdown-item" v-if="!filteredValues.length">
|
<li ref="" class="dropdown-item" v-if="!filteredValues.length">
|
||||||
<button type="button" class="btn btn-link">{{ noMatchingDataText }}</button>
|
<button type="button" class="btn btn-link">{{ noMatchingDataText }}</button>
|
||||||
</li>
|
</li>
|
||||||
@ -529,8 +532,8 @@ export default {
|
|||||||
cookie = JSON.parse(cookie)[path];
|
cookie = JSON.parse(cookie)[path];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.value) {""
|
if (this.value) {
|
||||||
let search_string = this.value.replace(' not ', ' ');
|
let search_string = this.value.replace('not ', '').replace(' not ', ' ');
|
||||||
|
|
||||||
console.log(search_string);
|
console.log(search_string);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user