You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For serveral times, by using e.g. datecontrol or in the current case maskedinput I ask myself, how to reinitalize the plugins via js. In the following example, I change the mask via js. I've understood, that the name of the object containing the information for an input is stored in data-plugin-inputmask. I suggest I have to change the mask information and have to refresh the input field, but does this go?
var inputField = $("#entitymasterdata-value_text");
pluginInputMask = inputField.data('plugin-inputmask');
pluginInputMask.mask = $type.find(':selected').data('hastextformat');
The text was updated successfully, but these errors were encountered:
Hi,
I use this awesome kartik tools!
For serveral times, by using e.g. datecontrol or in the current case maskedinput I ask myself, how to reinitalize the plugins via js. In the following example, I change the mask via js. I've understood, that the name of the object containing the information for an input is stored in data-plugin-inputmask. I suggest I have to change the mask information and have to refresh the input field, but does this go?
The text was updated successfully, but these errors were encountered: