+
{{ filter.value }}
-
+
[],
description: 'List of filters'
},
+
defaultFiltered: {
type: Array,
default: () => [],
@@ -196,7 +207,6 @@ export default {
},
dateConfig: null
-
},
model: {
@@ -317,7 +327,7 @@ export default {
onInput(evt) {
this.search = evt.target.value;
this.show_button = true;
-
+
let option_url = this.selected_options.length > 0 && this.selected_options[this.filter_index] !== undefined ? this.selected_options[this.filter_index].url : '';
if (this.search) {
@@ -617,7 +627,7 @@ export default {
this.selected_values.splice(index, 1);
this.show_date = false;
-
+
if (this.filter_index == 0) {
this.onChangeSearchAndFilterText(this.defaultPlaceholder, true);
this.show_close_icon = false;
@@ -850,6 +860,7 @@ export default {
this.values.sort(function (a, b) {
var nameA = a.value.toUpperCase(); // ignore upper and lowercase
var nameB = b.value.toUpperCase(); // ignore upper and lowercase
+
if (nameA < nameB) {
return -1;
}
@@ -857,6 +868,7 @@ export default {
if (nameA > nameB) {
return 1;
}
+
// names must be equal
return 0;
});
@@ -936,7 +948,7 @@ export default {
.searh-field .btn:not(:disabled):not(.disabled):active:focus,
.searh-field .btn:not(:disabled):not(.disabled).active:focus {
- -webkit-box-shadow: none !important;
+ -webkit-box-shadow: none !important;
box-shadow: none !important;
}