Jul 23, 2018, 10:41 AM
[CLOSED] InputMask Native not working with Ext. 4.5.1 (MVC version)
Hello,
After migration from ext 2.5 to 4.5.1(MVC version) we observed that InputMask Native is not working.
In Ext 2.5 below code:
For E.g. 1. 12345 (allow) 2. 12345-67891 (allow) 3. 12345-67___ (not allow)
As mentioned in example link(its for web forms) https://examples4.ext.net/#/Form/TextField/InputMask/
same required for MVC version.
UnMask() function also not working.
After migration from ext 2.5 to 4.5.1(MVC version) we observed that InputMask Native is not working.
In Ext 2.5 below code:
.Plugins(new InputMask
{
Mask = "99999?-9999"
})
In Ext 4.5.1 below code .Plugins(new InputMask
{
Mask = "99999?-9999"
})
.InputMask(Html.X().TextFieldInputMask().Pattern("99999?-9999"))
We required to enter user to 5 digits. After question marks its optional as per above code.For E.g. 1. 12345 (allow) 2. 12345-67891 (allow) 3. 12345-67___ (not allow)
As mentioned in example link(its for web forms) https://examples4.ext.net/#/Form/TextField/InputMask/
same required for MVC version.
UnMask() function also not working.
Last edited by fabricio.murta; Aug 01, 2018 at 12:41 PM.