card
card copied to clipboard
Edit a credit card number
If I enter a credit card, incorrectly, and then refocus the field to just change a single digit, it doesn't work.
The code is doing an "append" typing feature, which causes this issue.
I have to delete the entire card, up to the error, and type in everything again.
Not cool.
I'll peek at this on the form I'm working on... to be clear.
- Input invalid or make a mistake in the number input
- Use the mouse to place the cursor where the mistake is (press backspace or delete)
- Start typing
Expected Result: Cursor stays where you made the edit and allows input at that position Actual Result: Cursor jumps to the end of the input and puts the new input there, as I just experienced cursor jumps to the end for a backspace or delete as well.
Yep, that's it.
ETA on this bug, kind of a big deal.
This appears to have been identified via https://github.com/jessepollak/card/issues/257
@digitalprecision Do you have opportunity to be able to submit a PR? @jessepollak and I get to things as we can when we can. Thanks!
Is there any updates for this situation?
I haven't been able to revisit this in awhile, I may have some time next week to see if I can introduce a solution, unless someone beats me to the punch.
I've debugged on this issue last week, and found out that it's actually an error in the @jessepollak library, QJ. I can provide further details when I'm back at work the 27th
I know it's been a while, but are there any updates on this? @ziemerz, do you remember any details about your debugging/fix?
I know its been even longer, but this still seems to be an issue.
Was there any progress previously?