[Custom Masks] Keep Mask not functioning

[Custom Masks] Keep Mask not functioning

  
Forge Component
(24)
Published on 19 Sep by Marcelo Ferreira
24 votes
Published on 19 Sep by Marcelo Ferreira

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}"