caioariede / django-input-mask

A collection of widgets for displaying masks to input elements using JavaScript.
MIT License
52 stars 21 forks source link

Broken in Django 1.10 #9

Open chrisspen opened 7 years ago

chrisspen commented 7 years ago

This no longer seems to work in Django 1.10.

Any page using it throws the Javascript error Uncaught TypeError: c.split is not a function coming from jquery.maskedinput.min.js:7.

I'm also using this with Django-Suit, and after upgrading to Django 1.10, this app now causes all tabbed form elements to disappear. Something in the jquery.maskedinput.min.js seems to be interferring with the code that shows/hides form fields when you click on Suit tabs.

marcoshemann commented 7 years ago

Try subst c.split to c.toString().split