From 1382a3fba8555bd720ad3cf6e16af3e7687750f9 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 18 Jan 2024 10:39:41 +0800 Subject: [PATCH] * zin: support for using zui component with zui-create. --- lib/core/src/helpers/zui-creator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/helpers/zui-creator.ts b/lib/core/src/helpers/zui-creator.ts index 532a18aabd..5e36c64fb7 100644 --- a/lib/core/src/helpers/zui-creator.ts +++ b/lib/core/src/helpers/zui-creator.ts @@ -75,7 +75,7 @@ declare module 'cash-dom' { /** Define the $.fn.zuiInit method. */ $.fn.zuiInit = function (this: Cash) { - this.find('[data-zui]').each(function () { + this.find('[zui-create],[data-zui]').each(function () { const $element = $(this); let options = getZData($element, 'data-')!; const [name, optionsName] = (options.zui as string).split(':');