[ 
https://issues.apache.org/jira/browse/OFBIZ-9493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16302213#comment-16302213
 ] 

Aditya Sharma edited comment on OFBIZ-9493 at 12/23/17 5:20 AM:
----------------------------------------------------------------

Replaced Masked Input Plugin with jQuery-Mask-Plugin 1.14.13

Verify:
Mask plugin is used with the date time picker.
Field1: date and time selection field & and Mask Field example in 
FormWidgetExamples
https://localhost:8443/example/control/FormWidgetExamples

I have changed the Default Translations for jQuery-Mask-Plugin from
"A" - Alphanumeric [A-Za-z0-9]
"0" - Numeric [0-9*]
"S" - Alphabets [A-Za-z]

to

"*" - Alphanumeric [A-Za-z0-9]
"9" - Numeric [0-9*]
"a" - Alphabets [A-Za-z]

according to the defaults in older Masked Input Plugin so that it doesn't break 
any previous code (though I have tested all the possible code occurrences & it 
works fine) as well as it makes more sense with these symbols used.



was (Author: aditya.sharma):
Replaced Masked Input Plugin with jQuery-Mask-Plugin 1.14.13

Verify:
Mask plugin is used with the date time picker.
Field1: date and time selection field & and Mask Field example in 
FormWidgetExamples
https://localhost:8443/example/control/FormWidgetExamples

I have changed the Default Translations for jQuery-Mask-Plugin from
A - Alphanumeric [A-Za-z0-9]
0 - Numeric [0-9*]
S - Alphabets [A-Za-z]

to

* - Alphanumeric [A-Za-z0-9]
9 - Numeric [0-9*]
a - Alphabets [A-Za-z]

according to the defaults in older Masked Input Plugin so that it doesn't break 
any previous code (though I have tested all the possible code occurrences & it 
works fine) as well as it makes more sense with these symbols used.


> Replace Masked Input Plugin with jQuery-Mask-Plugin.
> ----------------------------------------------------
>
>                 Key: OFBIZ-9493
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9493
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Aditya Sharma
>            Assignee: Aditya Sharma
>            Priority: Minor
>         Attachments: OFBIZ-9493.patch, OFBIZ-9493_plugins.patch, 
> jQuery-Mask-Plugin.tar.gz
>
>
> Current plugin Masked Input  Plugin 
> (http://digitalbush.com/projects/masked-input-plugin/) can be replaced with 
> jQuery-Mask-Plugin (https://igorescobar.github.io/jQuery-Mask-Plugin/).
> * jQuery-Mask-Plugin has much better community support on GitHub while Masked 
> Input  Plugin is handled by Josh Bush on digitalbush.com. 
> * jQuery-Mask-Plugin has 135 releases while Masked Input Plugin has very few 
> releases yet.
> * Both the plugin has MIT license.
> Refer https://github.com/igorescobar/jQuery-Mask-Plugin for more features and 
> other information.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to