Open bebaps opened 5 years ago
I already frustating, before I found this issue. thank you for saving my life
Hey @bebaps, thanks for solution. You save my all day and painful head.
Hey @bebaps , thanks for the solution. You save my day as well.
Thank you, @bebaps :)
omg thanks, i would've never been able to find this on my own. you're a lifesaver!!
This is a valid issue, but I am posting this more as a heads up for future users of this plugin. There have been many issues already logged for this error, with no real resolution. It seems the author of this plugin is no longer actively maintaining it, so be aware that you will need to pretty much fend for yourself with any issues with this plugin.
When trying to use the
setList
method you might run into this issue:In any case, if you receive this error as many others have, you will need to check two main things:
I say "registered" because this plugin uses its own system to clone the inputs found in the DOM. This list can be found in
jquery.input.js
, but here's a pic:In my code, I had this
tel
input that was causing the error:After a few frustrating hours and basically dissecting this entire plugins source code (hence how I found out how this plugin "registers" the inputs that it will actually work with), I found that simply changing that input from a
tel
to atext
solved the problemI hope this saves someone the time and frustration.