Comments (3)
We are implementing toscani and are currently experiencing this same issue. Is there any update on how to correct this?
from toscani.
Having the same issue. Is there an update for this issue? Thanks!
from toscani.
From what I can tell, this is caused by the rather cavalier call to unbind
here: https://github.com/zdfs/toscani/blob/master/paymentInfo/assets/scripts/app.js#L234
This unbinds the keydown handler within inputmask, which causes inputmask to never reset its skipKeyPressEvent
flag.
I can verify that removing line 234 fixes the issue. However, the part I can't figure out is why it's working for the other inputs, because unbind
is used without regard throughout this whole plugin. I tried to track it down, but ultimately had to pull out.
I would submit a PR for this fix, but I don't fully understand why you are calling unbind so much to begin with. Should you be using namespaces, or do you actually mean to detach all event handlers? I am happy to submit a PR to fix the issue with some further clarification.
from toscani.
Related Issues (20)
- Paymill fork & integration? HOT 2
- How to get the unmasked, full credit card number HOT 2
- Add Bower HOT 2
- Restructure Inputs for better accessibility HOT 3
- Cmd+A HOT 1
- Broken on Windows Phone HOT 1
- Refactor valid length checks HOT 1
- Integrate Politespace HOT 1
- Select All Broken HOT 2
- Ghost In The Shell
- Fix unreachable code in matchNumbers
- Enhancement: Make ZIP optional
- Enhancement: Validate card numbers HOT 1
- iOS: Input not auto-advancing to next field HOT 1
- can't submit numbers.. HOT 1
- Doesn't auto skip to next field in iOS8 HOT 2
- Backspace on MM/YY HOT 1
- Enhancement: Support more credit card numbers.
- Can't add date in iOS
- Can't enter date and other fields in Andriod. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toscani.