Skip to content

Commit

Permalink
* zin: support for using zui component with zui-create.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Jan 18, 2024
1 parent 8988ff9 commit 1382a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/helpers/zui-creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(':');
Expand Down

0 comments on commit 1382a3f

Please sign in to comment.