adyen-ios
adyen-ios copied to clipboard
COIOS-811: Expiry date sanitization fix
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?
- Enter an expiry date 03 / 30 (It jumps to the next field CVC)
- 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