diff --git a/src/plugins/combobox/index.ts b/src/plugins/combobox/index.ts index 40e2124..d8d6cff 100644 --- a/src/plugins/combobox/index.ts +++ b/src/plugins/combobox/index.ts @@ -13,7 +13,6 @@ import { afterTransition, htmlToElement, isParentOrElementHidden, - isArray, } from '../../utils'; import { @@ -398,7 +397,7 @@ class HSComboBox extends HSBasePlugin implements IComboBox { private jsonItemsRender(items: any) { // Bullet proofing. - if (!isArray(items)) { + if (Array.isArray(items)) { return }