Sets the app-wide default selected region (ISO key, e.g
withPhoneDefaultRegion
Functionforms/input
projects/forms/input/input-config.ts
Description#
Sets the app-wide default selected region (ISO key, e.g. 'AT') for
CngxPhoneInput, instead of the first country in the list.
- The region must match a
CngxPhoneInputcountryregion; an unknown region is ignored (the first country stays selected). - A per-instance
[country]binding overrides it.
provideInputConfig(withPhoneDefaultRegion('AT'));