[Custom Masks] Keep Mask not functioning

[Custom Masks] Keep Mask not functioning

  
Forge Component
(26)
Published on 14 Nov by Caio Santana Magalhães
26 votes
Published on 14 Nov by Caio Santana Magalhães

When Keep Mask is set to False, it saves with mask anyway.

I saw an older post in reference to this from 2016, but I am using the newest version now, and it still seems to have this same problem? Does anyone have a solutions?

-

Outsystems v.10.0.814, Custom masks v.3.0.4, Cloud Deployed

Hi,

Try autoUnMask = true or removeMaskOnSubmit in case you are using it on a submit

Regards,

Marcelo


Marcelo Ferreira wrote:

Hi,

Try autoUnMask = true or removeMaskOnSubmit in case you are using it on a submit

Regards,

Marcelo

I tried both of these and neither solved the problem. The mask is still being saved in the system.

I am using it with an Ajax Submit, if that matters.

Edit: This is the way I have it in the AdvancedOptions 

SyntaxEditor Code Snippet

"{removeMaskOnSubmit: true}"


Christopher Trombatore wrote:

Marcelo Ferreira wrote:

Hi,

Try autoUnMask = true or removeMaskOnSubmit in case you are using it on a submit

Regards,

Marcelo

I tried both of these and neither solved the problem. The mask is still being saved in the system.

I am using it with an Ajax Submit, if that matters.

Edit: This is the way I have it in the AdvancedOptions 

SyntaxEditor Code Snippet

"{removeMaskOnSubmit: true}"



"{autoUnmask: true}" works for me. Maybe you can try that.

I had the same problem, i used the "{autoUnmask: true}" in the AdvancedOptions  and it worked for me.
Thanks