@dolusoft/vue3-datatable 1.8.14 → 1.8.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3131,9 +3131,13 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
3131
3131
  } else {
3132
3132
  column.value = newValue;
3133
3133
  }
3134
- if (currentCondition) {
3134
+ const isEmpty = newValue === "" || newValue === null || newValue === void 0;
3135
+ if (isEmpty) {
3136
+ column.condition = "";
3137
+ columnConditions.value[col.field] = "";
3138
+ } else if (currentCondition) {
3135
3139
  column.condition = currentCondition;
3136
- } else if (column.value) {
3140
+ } else {
3137
3141
  column.condition = "Equal";
3138
3142
  columnConditions.value[col.field] = column.condition;
3139
3143
  }
@@ -3130,9 +3130,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3130
3130
  } else {
3131
3131
  column.value = newValue;
3132
3132
  }
3133
- if (currentCondition) {
3133
+ const isEmpty = newValue === "" || newValue === null || newValue === void 0;
3134
+ if (isEmpty) {
3135
+ column.condition = "";
3136
+ columnConditions.value[col.field] = "";
3137
+ } else if (currentCondition) {
3134
3138
  column.condition = currentCondition;
3135
- } else if (column.value) {
3139
+ } else {
3136
3140
  column.condition = "Equal";
3137
3141
  columnConditions.value[col.field] = column.condition;
3138
3142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolusoft/vue3-datatable",
3
- "version": "1.8.14",
3
+ "version": "1.8.16",
4
4
  "description": "Vue3 Datatable - fully customizable & easy to use datatable library",
5
5
  "private": false,
6
6
  "type": "module",