[CustomMasks] CustomMasks breaks Ajax actions

[CustomMasks] CustomMasks breaks Ajax actions

  
Forge Component
(17)
Published on 23 Sep (2 days ago) by Pedro Oliveira
17 votes
Published on 23 Sep (2 days ago) by Pedro Oliveira
I'm using Platform 9.0.0.6 and 9.0.0.9 and I discovered that on all my pages that use the custom mask, that only a single Ajax function (just as an ajax refresh, ajax submit, etc) would fire per page.

I have an address form that, when a user selects the country they're in, it populates the state field, which then populates a city field, and I use the mask on their phone number. With the mask in place, the country change would indeed populate the states, but no other action (including the "submit" button) would fire after that.

This could also be because the pages were generally inside webblocks, so maybe being in a webblock causes problems?

I was on the phone for awhile with OutSystems support and they traced it down to a problem with the CustomMasks widget. Once removing it, my pages work fine.

So... there's an Ajax problem there someplace.

Also, CustomMasks doesn't seem to work at all on 9.0.0.9. I can't even open it in Service Studio 9.0.0.7 without it erroring out. (Some generic error)
Hi Len,

First of all thanks for your feedback. Regarding the problem about CustomMasks doesn't work on last Service Studio versions is already being resolved.
About the other problem - that only a single Ajax function would fire per page - I would like if you could detail more your scenario because I was unable to reproduce the behaviour that you mentioned. Or maybe you could isolate that scenario in a new eSpace and send me by email, so that I can understand what's going on.

Cheers,
Sara Gonçalves
Hi Sara,

I have the same problem. When I use the customMasks in a input field and in that input field I have an "On Change" action, that action doesn't work. What can be the problem? Exist any way to solve this problem or deal with that?

Cheers

Hello Gonçalo,

First of all I would like to apologize for just checking this now.

I tried to reproduce this behavior and I didn't have success. I would be great if you could isolate that scenario in a new eSpace and send me by email, so that I can understand what's going on.


Thank you!