TypeError with editor mask plugin

TypeError with editor mask plugin

Red SniperRed Sniper Posts: 50Questions: 11Answers: 0

Hello there,

Today I updated the datatable version from 1.12.1 to 2.0.5, and editor from 2.0.10 to 2.3.2
I have noticed that in some editor instances that make use of a mask (field with type: "mask") , I get the error below:

"TypeError: conf._input.mask is not a function"

No changes in the editor code were made.
Is something I have missed from the changelogs ?

Let me know
Thanks in advance

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    Answer ✓

    Hi,

    That error suggests that the jQuery Mask plugin hasn't been loaded on your page. Or perhaps that jQuery has been loaded multiple times? Are you able to give me a link to the page in question?

    Thanks,
    Allan

  • Red SniperRed Sniper Posts: 50Questions: 11Answers: 0

    Thanks Allan for the reply.
    Jquery Mask plugin was removed in an attempt to reduce bundle size (didn't remember , while I was moving to dt v2, that it was needed for this library)

Sign In or Register to comment.