Phone input

Tags: forms

To be used with CountriesCollection

Phone input with no country priority set. The countries will purely be selected based on phone code length.

Flag of

Phone input with country priority set to US, CA, NZ, AU, GB.

Flag of
Inputs
formGroup : FormGroup<{ countryCode: FormControl<any>; phoneNumber: FormControl<string>; displayPhoneNumber: FormControl<string>; }>
autoFocus ?: any = AutoFocusOption.NONE

Allows the input to auto focus

countriesOptions ?: readonly Country[] = []
countryPriority ?: string[] = [ CountryCode.US, CountryCode.CA, CountryCode.NZ, CountryCode.AU, CountryCode.GB, ]

Priority countries to show for country select