bcgov / bcgov/entity

Support for international phone numbers

Open
#24,424 3 comments 0 reactions 0 assignees View on GitHub
STR2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Given an in-progress Platform application,
When I enter an international prefix (e.g. +44 for England)
and start typing in the phone number (e.g. XXXX-XXX-XXX for England),
Then the system prevents invalid inputs based on my prefix (see https://en.wikipedia.org/wiki/List_of_country_calling_codes).

Notes:
Perhaps there is an existing library/plug-in that we can leverage instead of building our own?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the phone-number input and validation used by the Platform application, then check whether an existing international phone-number library is already available. Done means entering a country prefix constrains subsequent input to valid formats, including the England example, with appropriate validation coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.