@cscfi/csc-ui 2.1.11 → 2.1.13
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/dist/cjs/c-autocomplete_34.cjs.entry.js +3 -1
- package/dist/cjs/c-autocomplete_34.cjs.entry.js.map +1 -1
- package/dist/cjs/c-data-table.cjs.entry.js +12 -4
- package/dist/cjs/c-data-table.cjs.entry.js.map +1 -1
- package/dist/collection/components/c-data-table/c-data-table.js +12 -4
- package/dist/collection/components/c-data-table/c-data-table.js.map +1 -1
- package/dist/collection/components/c-dropdown/c-dropdown.js +3 -1
- package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -1
- package/dist/components/c-data-table.js +12 -4
- package/dist/components/c-data-table.js.map +1 -1
- package/dist/components/c-dropdown2.js +3 -1
- package/dist/components/c-dropdown2.js.map +1 -1
- package/dist/csc-ui/csc-ui.esm.js +1 -1
- package/dist/csc-ui/{p-f216dda9.entry.js → p-f057fdea.entry.js} +2 -2
- package/dist/csc-ui/{p-f216dda9.entry.js.map → p-f057fdea.entry.js.map} +1 -1
- package/dist/csc-ui/p-f69e744e.entry.js +2 -0
- package/dist/csc-ui/p-f69e744e.entry.js.map +1 -0
- package/dist/esm/c-autocomplete_34.entry.js +3 -1
- package/dist/esm/c-autocomplete_34.entry.js.map +1 -1
- package/dist/esm/c-data-table.entry.js +12 -4
- package/dist/esm/c-data-table.entry.js.map +1 -1
- package/package.json +1 -1
- package/dist/csc-ui/p-cf0bd039.entry.js +0 -2
- package/dist/csc-ui/p-cf0bd039.entry.js.map +0 -1
|
@@ -821,7 +821,9 @@ const CDropdown = class {
|
|
|
821
821
|
}
|
|
822
822
|
_minimumQueryItem() {
|
|
823
823
|
const { query, loading, minimumQueryLength, minimumQueryLengthMessage } = this.parent;
|
|
824
|
-
if (
|
|
824
|
+
if (this.type !== 'autocomplete' ||
|
|
825
|
+
(query === null || query === void 0 ? void 0 : query.length) > minimumQueryLength ||
|
|
826
|
+
loading)
|
|
825
827
|
return;
|
|
826
828
|
return (h("li", null, h("c-icon", { path: mdiInformation, size: 18, color: "var(--c-info-600)" }), minimumQueryLengthMessage.replace('{n}', minimumQueryLength.toString())));
|
|
827
829
|
}
|