[Custom Input Masks] Safari - CustomMasks preventing functionality within js files

Forge Component
(38)
Published on 22 Apr by Marcelo Ferreira
38 votes
Published on 22 Apr by Marcelo Ferreira

Hi, i am wondering if someone can help me with an issue in Safari:

Whilst trying to navigate to a certain page, the js scripts are throwing the following errors and preventing functionality on the page. This is only happening in safari, not in any other browser.

The following errors are:

SyntaxError: Parse error


TypeError: Result of expression '$(elementID).inputmask' [undefined] is not a function


I am using the latest version of the Custom Masks module from the forge. 

Has anyone had any issues with the custom masks error in safari like this? If so, how did you get around it?

Cheers

Jake 

Hi Jake,

The second error is because the first one didnt create the inputmask function. The first error I tried our try now page on safari 12 and everything is working. You also have a problem in this page?

Regards,

Marcelo

Marcelo Ferreira wrote:

Hi Jake,

The second error is because the first one didnt create the inputmask function. The first error I tried our try now page on safari 12 and everything is working. You also have a problem in this page?

Regards,

Marcelo


Hi Marcelo,


Thanks for the input, this was on an old version of safari which we have now gotten rid of and have a new solution for instead.


Thanks,

Jake