Different character restriction between mobile and desktop for card numbers #1117

Closed
opened 2025-11-26 22:39:27 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @mmattel on GitHub (Oct 9, 2020).

Describe the Bug

Comparing desktop to mobile, on mobile (IOS) you can only type numbers but no letters in the card number field. This may sound strange as you might think that a debit card like ATM has numbers only and desktop is wrong. It is the other way round, desktop is correct allowing alpha-numeric characters (A-Z, 0-9, blank). In Europe, a bank card for use with ATM only has a "number" field (=IBAN) starting with the country (like AT, DE ect) following by numbers representing a hash code, the bank id and the bank account number.

Steps To Reproduce

  1. Create a new item from type card
  2. Try to add a IBAN in the number field based on the criteria above

Expected Result

Being able to enter A-Z, 0-9, blank
eg: ATxx xxxx xxxx xxxx xxxx

Actual Result

You can enter numbers only

Environment

  • Device: iPhone SE
  • Operating system: iOS 14
  • Build Version (go to "Settings" → "About" in the app): 2.6.1 (278)
  • Is this a Beta release? N

Additional Context

It might be an alternative to add a card type like ATM-EU where you have instead a IBAN + a mandatory field named BIC. In this case, desktop needs this card type too.

Originally created by @mmattel on GitHub (Oct 9, 2020). ## Describe the Bug Comparing desktop to mobile, on mobile (IOS) you can only type numbers but no letters in the card number field. This may sound strange as you might think that a debit card like ATM has numbers only and desktop is wrong. It is the other way round, desktop is correct allowing alpha-numeric characters (A-Z, 0-9, blank). In Europe, a bank card for use with ATM only has a "number" field (=IBAN) starting with the country (like AT, DE ect) following by numbers representing a hash code, the bank id and the bank account number. ## Steps To Reproduce 1. Create a new item from type card 2. Try to add a IBAN in the number field based on the criteria above ## Expected Result Being able to enter A-Z, 0-9, blank eg: ATxx xxxx xxxx xxxx xxxx ## Actual Result You can enter numbers only ## Environment - Device: iPhone SE - Operating system: iOS 14 - Build Version (go to "Settings" → "About" in the app): 2.6.1 (278) - Is this a Beta release? N ## Additional Context It might be an alternative to add a card type like ATM-EU where you have instead a IBAN + a mandatory field named BIC. In this case, desktop needs this card type too.
Author
Owner

@kspearrin commented on GitHub (Oct 9, 2020):

Fixed with https://github.com/bitwarden/mobile/pull/1097

@kspearrin commented on GitHub (Oct 9, 2020): Fixed with https://github.com/bitwarden/mobile/pull/1097
Author
Owner

@vachan-maker commented on GitHub (Oct 28, 2021):

@mportune-bw Looks like this issue is back. The field only accepts numbers and not alphabets. I tested it on my phone and I cannot enter any alphabets.
Reported by https://community.bitwarden.com/t/bitwarden-iban-feature/14841/6

Android: 10
Bitwarden 2.13.1 (3946)
Yes, Beta release

@vachan-maker commented on GitHub (Oct 28, 2021): @mportune-bw Looks like this issue is back. The field only accepts numbers and not alphabets. I tested it on my phone and I cannot enter any alphabets. Reported by https://community.bitwarden.com/t/bitwarden-iban-feature/14841/6 Android: 10 Bitwarden 2.13.1 (3946) Yes, Beta release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1117