card icon indicating copy to clipboard operation
card copied to clipboard

Edit a credit card number

Open MonteShaffer opened this issue 8 years ago • 10 comments

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.

MonteShaffer avatar Dec 07 '16 15:12 MonteShaffer

I'll peek at this on the form I'm working on... to be clear.

  1. Input invalid or make a mistake in the number input
  2. Use the mouse to place the cursor where the mistake is (press backspace or delete)
  3. 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.

BallisticPain avatar Dec 07 '16 15:12 BallisticPain

Yep, that's it.

MonteShaffer avatar Dec 07 '16 16:12 MonteShaffer

ETA on this bug, kind of a big deal.

digitalprecision avatar Dec 13 '16 18:12 digitalprecision

This appears to have been identified via https://github.com/jessepollak/card/issues/257

digitalprecision avatar Dec 13 '16 18:12 digitalprecision

@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!

BallisticPain avatar Dec 16 '16 13:12 BallisticPain

Is there any updates for this situation?

onurkizmaz avatar Jan 18 '17 13:01 onurkizmaz

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.

digitalprecision avatar Jan 18 '17 14:01 digitalprecision

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

ziemerz avatar Dec 24 '17 08:12 ziemerz

I know it's been a while, but are there any updates on this? @ziemerz, do you remember any details about your debugging/fix?

petevk avatar May 23 '18 19:05 petevk

I know its been even longer, but this still seems to be an issue.

Was there any progress previously?

CRCinAU avatar Feb 04 '19 05:02 CRCinAU