Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Select
Custom Inputs
Components
Navigation
Components
69
Micro Charts
Libraries
Kanban Board
Image Designer
Video Player
Visual Builder
Content Editor
Data View
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Purchase

Country Select

The Country Select component is a form control for choosing a country from the built-in country list. It shows the flag and country name, supports search by name or ISO code, and writes the selected ISO country code to the form value.

Use it for addresses, user profiles, billing, shipping, legal forms, tax forms, tenant settings, and locale settings where the user must choose a country. Do not use it for phone dialing codes, currencies, or custom lists of regions, cities, offices, or locations.

PropTypeDefault
placeholder
The placeholder text for the input.
string''
required
Whether the input is required.
booleanfalse
disabled
Whether the input is disabled.
booleanfalse
showCountryCode
Whether to show the country code in the trigger.
booleanfalse
searchTerm
The search term for filtering countries.
string''
EventDescription
openedEvent emitted when the select panel is opened.
closedEvent emitted when the select panel is closed.