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(':');