@luftborn/custom-elements 2.13.8 → 2.13.10

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.
package/demo/index.min.js CHANGED
@@ -7090,9 +7090,15 @@ var CustomInputElement = /** @class */ (function (_super) {
7090
7090
  var IsConditionMatched = false;
7091
7091
  if (type === "has") {
7092
7092
  IsConditionMatched = !!e.value;
7093
+ if (Array.isArray(e.value)) {
7094
+ IsConditionMatched = e.value.length > 0;
7095
+ }
7093
7096
  }
7094
7097
  if (type === "no") {
7095
7098
  IsConditionMatched = !e.value;
7099
+ if (Array.isArray(e.value)) {
7100
+ IsConditionMatched = e.value.length === 0;
7101
+ }
7096
7102
  }
7097
7103
  if (type === "custom") {
7098
7104
  if (criteria === "Exact") {