yii - Dynamic form input using inputmask not working -
i use yii2 wbraganca manage dynamic input. in dynamic, use inputmask yii2 whic :\yii\widgets\maskedinput;
everything fine, but, when use inputmask, it's working in first element (row in case),
i read here : wbraganca , check vendor folder, code exist.
// "jquery.inputmask" var $hasinputmask = $(widgetoptionsroot.widgetitem).find('[data-plugin-inputmask]'); if ($hasinputmask.length > 0) { $hasinputmask.each(function() { $(this).inputmask('remove'); $(this).inputmask(eval($(this).attr('data-plugin-inputmask'))); }); }
but, code still not working add inputmask in next element. appreciated.
Comments
Post a Comment