cengage / react-magma

https://react-magma.cengage.com
MIT License
21 stars 12 forks source link

International Phone Number Input #404

Open cengagenathan opened 2 years ago

cengagenathan commented 2 years ago

As we look for greater Global adoption of React Magma, it would be beneficial to build an International phone number input that validates format and is accessible for multiple regions. See below.

Discussed in https://github.com/cengage/react-magma/discussions/265

Originally posted by **itsreallynotadam** May 12, 2021 Can we get something like this implemented for i13n? [https://intl-tel-input.com/]
orion-cengage commented 2 years ago

Purpose: Create configurable phone inputs that better help users with formatting, masking, and internationalization.

inVision: https://cengage.invisionapp.com/share/FW11Y91D8TQZ

Acceptance Criteria:

There should probably be two separate components instead of one that tries to do it all. This could be a simple version and an advanced or international version.

-- Using masking, the proper format is automatically applied as they type the numbers image phone-input

silvalaura commented 11 months ago

@orion-cengage Can you update this ticket to only have requirements related to International numbers? We'll address input masking in https://github.com/cengage/react-magma/issues/1119