I'd like to just remove a pattern I previously applied without having to add a new pattern. The following does remove the previous pattern...
if (formattedFirstDocNumber) {
formattedFirstDocNumber.resetPattern('{{**}}');
}
but then the cursor thinks there are 50 characters in the text-box.
I just want the text-box to behave like a normal text-box, pre formatterJs.
This doesn't work either...
$('#contentModel_TaskData_FirstDocNumber').formatter().resetPattern();
I'd like to just remove a pattern I previously applied without having to add a new pattern. The following does remove the previous pattern... if (formattedFirstDocNumber) { formattedFirstDocNumber.resetPattern('{{**}}'); }
but then the cursor thinks there are 50 characters in the text-box. I just want the text-box to behave like a normal text-box, pre formatterJs.
This doesn't work either... $('#contentModel_TaskData_FirstDocNumber').formatter().resetPattern();