-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'set' of undefined #112
Comments
I already frustating, before I found this issue. |
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!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: