Phone input

Phone number input field for use with CountriesCollection

Contents

Flag of UNITED STATES

The country selection now starts by default at US instead of the Canada. This is set by initializing the countryCodeControl.

Inputs in Default country
formGroup : FormGroup<{ countryCode: FormControl<any>; phoneNumber: FormControl<string>; displayPhoneNumber: FormControl<string>; }>
countriesOptions ?: readonly Country[] = []
countryPriority ?: string[] = [ CountryCode.US, CountryCode.CA, CountryCode.NZ, CountryCode.AU, CountryCode.GB, ]

Priority countries to show for country select