Can you update to the latest version (3.3.2-109) and make it available for all stacks again?
Thanks.
Tiago Flor wrote:
Hi Tiago,
I didn't validate the behavior in Java but since there is nothing specific to some stack I already made it available for all stacks :)
Cheers
Latest version (3.0.0) broke functionality, the inputs with masks have underline and calendar inputs show calendar when page loads.
For my previews post to remove the underline all it is needed to is to add "greedy: false" in the AdvancedOptions.
Could you upgrade to the latest version of the jquery (3.3.4 as of today) and also release a P10 version?
Hi there,I am working on a project using CustomMasks Version 2.0.4 with PlatformServer 9.1.401.0, and noticed a the following phenomenon.When MaskText Web Block is placed on a WebScreen with "KeepMask" input parameter set as False, the highlighted code in the image is executed.The more times an area containing the Web Block is Ajax Refreshed, WebScreen gets slower (= takes more time for the Ajax Refresh Action to be completed) due to BindBeforeSubmit and BindAfterSubmit functions. This gets worse when many MaskText Web Blocks are used in a Edit page, and input validation finds out invalid input.Thus I would like to request to fix the module so that BindBeforeSubmit and BindAfterSubmit functions are executed only once when the Web Screen is loaded. This phenomenon happens also with MaskCurrency but not sure about the other mask Web Blocks, so I really appreciate to check the other modules when fixing it.
Thanks,
Emi
Hello Emi,
Thank you for reporting this behavior. At the moment I'm not able to upload a new version compatible with PlatformServer 9.1.401.0, but in my environment, I was able to make a quick fix.
All the webblocks should make a validation if the binds were already made previously, in order to have the expected behavior that you mentioned.
if(!window.customMasksInitialized) { osAjaxBackend.BindBeforeSubmit(function () { $(elementID).inputmask('remove'); }); osAjaxBackend.BindAfterSubmit(function () { $(elementID).inputmask('remove'); $(elementID).inputmask(maskDefinition, maskOpts); }); window.customMasksInitialized = true; }
Can you try this and check if it solves your issue?
Let me know if you need any help :)
Thank you,
Sara Gonçalves
Hi Sara-san,
Thank you for your reply.
I am going to talk to project members, and I am going to let you know if we have another question.
I have attached an OML files which works with PlatformServer 9.1.401.0 and with changes applied you have mentioned before. The OML file is based on the version 2.0.4, and the change is only applied to "MaskText" Web Block.
I am wondering if you could upload this OML file as new version so that everyone else can use it.
I have attached OAP file which includes the fix.
Emi Yokota wrote:
I already uploaded the version with your fix.
Thank you for your contribution!
Sara Gonçalves
We have noticed that inputmask version is revered from 3.3.2-27 to 3.1.27 at version 2.0.3, and it is causing the phenomenon which I talked to you last year around June-July. Was there any problem using inputmask version 3.3.2-27?
In addition we found another strange behavior with inputmask version 3.3.2-27 as the followings.
E.g. When you input a large number and move the cursor, the input value changes.
If you input 922337203685 and move the cursor, it changes to 922337203686.
We have updated the inputmask version to 3.3.8, and it seems that all the problematic behaviors which I have described above seems to be solved. I have attached the fixed version, and would you mind uploading it as the new version?
Thank you for contributing to a new improved version! I just uploaded as 2.0.6 version.
Cheers,
Hi All,
We found the impact that depends on updating inputMask plugin.At version 3.3.5 of inputMask, probably inputmask('remove') was changed to autoUnmask.Therefore, because 2.0.6 version is using version 3.3.8 inputMask, the input parameter "KeepMask" flag might be occurred a wrong behavior in MastText and MaskCurrency.So we would like to suggest the following code:
before : $(elementID).inputmask('remove');
after : $(elementID).inputmask({'autoUnmask':true});Could you consider to fix it like as my suggestion, please?regards,Hisako