adyen-ios icon indicating copy to clipboard operation
adyen-ios copied to clipboard

COIOS-811: Expiry date sanitization fix

Open goergisn opened this issue 4 months ago • 4 comments

Summary

  • Fixed a bug where the expiry date field ended up in an invalid state when trying to add additional characters to the textfield

What steps will reproduce the problem?

  1. Enter an expiry date 03 / 30 (It jumps to the next field CVC)
  2. Go back into the expiry date field and add another character e.g. 5

What is the expected result?

  • The character is ignored (sanitized out)

What happens instead?

  • It does not show it in the UI but the value of the item is now 03305 and errors out but there is no visual indicator why

Release notes

In the **Expiry date** field, when the shopper tries to enter additional characters to the field after having already entered characters in it, the field no longer ends up in an invalid state.

Ticket

COIOS-811

goergisn avatar Oct 21 '24 14:10 goergisn