@cscfi/csc-ui 2.1.11 → 2.1.12

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.
@@ -825,7 +825,9 @@ const CDropdown = class {
825
825
  }
826
826
  _minimumQueryItem() {
827
827
  const { query, loading, minimumQueryLength, minimumQueryLengthMessage } = this.parent;
828
- if (query.length > minimumQueryLength || loading)
828
+ if (this.type !== 'autocomplete' ||
829
+ (query === null || query === void 0 ? void 0 : query.length) > minimumQueryLength ||
830
+ loading)
829
831
  return;
830
832
  return (index.h("li", null, index.h("c-icon", { path: mdi.mdiInformation, size: 18, color: "var(--c-info-600)" }), minimumQueryLengthMessage.replace('{n}', minimumQueryLength.toString())));
831
833
  }