Function CountrySelect
-
CountrySelect(
__namedParameters: Omit<
SelectHTMLAttributes<HTMLSelectElement>,
"defaultValue",
> & {
countries: readonly CountryOption[];
defaultValue?: string | null;
error?: string;
},
): ElementParameters
- __namedParameters: Omit<SelectHTMLAttributes<HTMLSelectElement>, "defaultValue"> & {
countries: readonly CountryOption[];
defaultValue?: string | null;
error?: string;
}-
countries: readonly CountryOption[]
Host-configured country values and labels.
-
OptionaldefaultValue?: string | nullInitial uncontrolled field value. Optional; omitted unless supplied by the host or backend.
-
Optionalerror?: stringCustomer-visible error or error presentation flag. Optional; omitted unless supplied by the host or backend.
-
Returns Element
- __namedParameters: Omit<SelectHTMLAttributes<HTMLSelectElement>, "defaultValue"> & {
The public settings API orders the installation country first.