Properties
| Property | Type | Description |
|---|---|---|
value | string | (optional) Value for the value component. Will take precedence over the path value given in the data context. |
defaultValue | string | (optional) Default value for the value component. Will not take precedence over the path value given in the data context. |
label | string | (optional) Field label to show above the displayed value. |
labelSrOnly | boolean | (optional) Use true to make the label only readable by screen readers. |
help | object | (optional) Provide help content for the field using title and content as a string or React.Node. Additionally, you can set open to true to display the inline help, set the breakout property to false to disable the breakout of the inline help content, or use renderAs set to dialog to render the content in a Dialog (recommended for larger amounts of content). |
transformLabel | function | (optional) Transforms the label before it gets displayed. Receives the label as the first parameter. The second parameter is a object containing the convertJsxToString function. |
inheritLabel | boolean | (optional) Use true to inherit the label from a visible (rendered) field with the same path. |
inheritVisibility | boolean | (optional) Use true to inherit the visibility from a field with the same path. You can find more info in the Value section. |
showEmpty | boolean | (optional) Shows the value even if it is empty. |
placeholder | string | (optional) Text showing in place of the value if no value is given. |
path | string | (optional) JSON Pointer for where the data for this input is located in the source dataset. |
inline | boolean | (optional) For showing the value inline (not as a block element). |
maxWidth | string | (optional) Use auto for no max-width (use browser default), small, medium or large for predefined standard max widths. Defaults to large. |
transformIn | function | (optional) Transforms the value before its displayed in the value component. |
Space | string object | (optional) Spacing properties like top or bottom are supported. |
Translations
More info about translations can be found in the general localization and Eufemia Forms localization docs.
| Key | nb-NO | en-GB | sv-SE | da-DK |
|---|---|---|---|---|
SelectCountry.label | Land | Country | Land | Land |
SelectCountry.placeholder | Velg et land | Select country | Välj ett land | Vælg et land |
SelectCountry.errorRequired | Du må velge et land fra listen. | You must select a country from the list. | Du måste välja ett land från listan. | Du skal vælge et land fra listen. |
Field.errorSummaryTitle | Feil som må rettes | Please correct the following errors | Fel som måste åtgärdas | Felter der skal rettes |
Field.stateSummary | Oppsummering: | Summary: | Sammanfattning: | Oversigt: |
Field.errorSummary | Feil som må rettes: | Please correct the following errors: | Fel som måste åtgärdas: | Felter der skal rettes: |
Field.errorRequired | Dette feltet må fylles ut. | This field is required. | Detta fält måste fyllas i. | Dette felt skal udfyldes. |
Field.errorPattern | Verdien er ugyldig. | The value is invalid. | Värdet är ogiltigt. | Ugyldig værdi. |
Field.optionalLabelSuffix | (valgfritt) | (optional) | (valfritt) | (valgfrit) |
List of available countries
Link to the code of the available countries.
| ISO 3166-1 alpha-2 code | en | nb | sv | da |
|---|---|---|---|---|
AF | Afghanistan | Afghanistan | Afghanistan | Afghanistan |
AL | Albania | Albania | Albanien | Albanien |
DZ | Algeria | Algerie | Algeriet | Algeriet |
AS | American Samoa | Amerikansk Samoa | Amerikanska Samoa | Amerikansk Samoa |
AD | Andorra | Andorra | Andorra | Andorra |
AO | Angola | Angola | Angola | Angola |
AI | Anguilla | Anguilla | Anguilla | Anguilla |
AQ | Antarctica | Antarktis | Antarktis | Antarktis |
AG | Antigua and Barbuda | Antigua og Barbuda | Antigua och Barbuda | Antigua og Barbuda |
AR | Argentina | Argentina | Argentina | Argentina |
AM | Armenia | Armenia | Armenien | Armenien |
AW | Aruba | Aruba | Aruba | Aruba |
AU | Australia | Australia | Australien | Australien |
AT | Austria | Østerrike | Österrike | Østrig |
AZ | Azerbaijan | Aserbajdsjan | Azerbajdzjan | Aserbajdsjan |
BS | Bahamas | Bahamas | Bahamas | Bahamas |
BH | Bahrain | Bahrain | Bahrain | Bahrain |
BD | Bangladesh | Bangladesh | Bangladesh | Bangladesh |
BB | Barbados | Barbados | Barbados | Barbados |
BY | Belarus | Belarus | Vitryssland | Hviderusland |
BE | Belgium | Belgia | Belgien | Belgien |
BZ | Belize | Belize | Belize | Belize |
BJ | Benin | Benin | Benin | Benin |
BM | Bermuda | Bermuda | Bermuda | Bermuda |
BT | Bhutan | Bhutan | Bhutan | Bhutan |
BO | Bolivia | Bolivia | Bolivia | Bolivia |
BA | Bosnia and Herzegovina | Bosnia-Hercegovina | Bosnien och Hercegovina | Bosnien-Hercegovina |
BW | Botswana | Botswana | Botswana | Botswana |
BV | Bouvet Island | Bouvetøya | Bouvetön | Bouvetøen |
BR | Brazil | Brasil | Brasilien | Brasilien |
IO | British Indian Ocean Territory | Det britiske territoriet i Indiahavet | Brittiska territoriet i Indiska oceanen | Britisk territorium i Det Indiske Ocean |
VG | British Virgin Islands | De britiske Jomfruøyer | Brittiska Jungfruöarna | Britiske Jomfruøer |
BN | Brunei | Brunei | Brunei | Brunei |
BG | Bulgaria | Bulgaria | Bulgarien | Bulgarien |
BF | Burkina Faso | Burkina Faso | Burkina Faso | Burkina Faso |
BI | Burundi | Burundi | Burundi | Burundi |
KH | Cambodia | Kambodsja | Kambodja | Cambodja |
CM | Cameroon | Kamerun | Kamerun | Cameroun |
CA | Canada | Canada | Kanada | Canada |
CV | Cape Verde | Kapp Verde | Kap Verde | Kap Verde |
BQ | Bonaire, Sint Eustatius and Saba | Bonaire, Sint Eustatius og Saba | Bonaire, Sint Eustatius och Saba | Bonaire, Sint Eustatius og Saba |
KY | Cayman Islands | Caymanøyene | Caymanöarna | Caymanøerne |
CF | Central African Republic | Den sentralafrikanske republikk | Centralafrikanska republiken | Centralafrikanske Republik |
TD | Chad | Tsjad | Tchad | Tchad |
CL | Chile | Chile | Chile | Chile |
CN | China | Kina | Kina | Kina |
CX | Christmas Island | Juleøya | Julön | Juleøen |
CC | Cocos Islands | Kokosøyene | Kokosöarna | Cocosøerne |
CO | Colombia | Colombia | Colombia | Colombia |
KM | Comoros | Komorene | Komorerna | Comorerne |
CK | Cook Islands | Cookøyene | Cooköarna | Cookøerne |
CR | Costa Rica | Costa Rica | Costa Rica | Costa Rica |
HR | Croatia | Kroatia | Kroatien | Kroatien |
CU | Cuba | Cuba | Kuba | Cuba |
CW | Curaçao | Curaçao | Curaçao | Curaçao |
CY | Cyprus | Kypros | Cypern | Cypern |
CZ | Czech Republic | Tsjekkia | Tjeckien | Tjekkiet |
CD | Congo, the Democratic Republic | Kongo, den demokratiske republikken | Kongo-Kinshasa | Den Demokratiske Republik Congo |
DK | Denmark | Danmark | Danmark | Danmark |
DJ | Djibouti | Djibouti | Djibouti | Djibouti |
DM | Dominica | Dominica | Dominica | Dominica |
DO | Dominican Republic | Den dominikanske republikk | Dominikanska republiken | Den Dominikanske Republik |
TL | East Timor | Øst-Timor | Östtimor | Østtimor |
EC | Ecuador | Ecuador | Ecuador | Ecuador |
EG | Egypt | Egypt | Egypten | Egypten |
SV | El Salvador | El Salvador | El Salvador | El Salvador |
GQ | Equatorial Guinea | Ekvatorial-Guinea | Ekvatorialguinea | Ækvatorialguinea |
ER | Eritrea | Eritrea | Eritrea | Eritrea |
EE | Estonia | Estland | Estland | Estland |
SZ | Eswatini | Eswatini | Swaziland | Eswatini |
ET | Ethiopia | Etiopia | Etiopien | Etiopien |
FK | Falkland Islands | Falklandsøyene | Falklandsöarna | Falklandsøerne |
FO | Faroe Islands | Færøyene | Färöarna | Færøerne |
FJ | Fiji | Fiji | Fiji | Fiji |
FI | Finland | Finland | Finland | Finland |
FR | France | Frankrike | Frankrike | Frankrig |
GF | French Guiana | Fransk Guyana | Franska Guyana | Fransk Guyana |
PF | French Polynesia | Fransk Polynesia | Franska Polynesien | Fransk Polynesien |
TF | French Southern and Antarctic Lands | De franske sørterritorier | Franska sydterritorierna | Franske Sydterritorier |
GA | Gabon | Gabon | Gabon | Gabon |
GM | Gambia | Gambia | Gambia | Gambia |
GE | Georgia | Georgia | Georgien | Georgien |
DE | Germany | Tyskland | Tyskland | Tyskland |
GH | Ghana | Ghana | Ghana | Ghana |
GI | Gibraltar | Gibraltar | Gibraltar | Gibraltar |
GR | Greece | Hellas | Grekland | Grækenland |
GL | Greenland | Grønland | Grönland | Grønland |
GD | Grenada | Grenada | Grenada | Grenada |
GP | Guadeloupe | Guadeloupe | Guadeloupe | Guadeloupe |
GU | Guam | Guam | Guam | Guam |
GT | Guatemala | Guatemala | Guatemala | Guatemala |
GG | Guernsey | Guernsey | Guernsey | Guernsey |
GN | Guinea | Guinea | Guinea | Guinea |
GW | Guinea-Bissau | Guinea-Bissau | Guinea-Bissau | Guinea-Bissau |
GY | Guyana | Guyana | Guyana | Guyana |
HT | Haiti | Haiti | Haiti | Haiti |
HM | Heard Island and McDonald Islands | Heard- og McDonaldøyene | Heard- och McDonaldöarna | Heard- og McDonaldøerne |
HN | Honduras | Honduras | Honduras | Honduras |
HK | Hong Kong | Hongkong | Hongkong | Hongkong |
HU | Hungary | Ungarn | Ungern | Ungarn |
IS | Iceland | Island | Island | Island |
IN | India | India | Indien | Indien |
ID | Indonesia | Indonesia | Indonesien | Indonesien |
IR | Iran | Iran | Iran | Iran |
IQ | Iraq | Irak | Irak | Irak |
IE | Ireland | Irland | Irland | Irland |
IM | Isle of Man | Man | Isle of Man | Isle of Man |
IL | Israel | Israel | Israel | Israel |
IT | Italy | Italia | Italien | Italien |
CI | Ivory Coast | Elfenbenskysten | Elfenbenskusten | Elfenbenskysten |
JM | Jamaica | Jamaica | Jamaica | Jamaica |
JP | Japan | Japan | Japan | Japan |
JE | Jersey | Jersey | Jersey | Jersey |
JO | Jordan | Jordan | Jordanien | Jordan |
KZ | Kazakhstan | Kasakhstan | Kazakstan | Kasakhstan |
KE | Kenya | Kenya | Kenya | Kenya |
KI | Kiribati | Kiribati | Kiribati | Kiribati |
XK | Kosovo | Kosovo | Kosovo | Kosovo |
KW | Kuwait | Kuwait | Kuwait | Kuwait |
KG | Kyrgyzstan | Kirgisistan | Kirgizistan | Kirgisistan |
LA | Laos | Laos | Laos | Laos |
LV | Latvia | Latvia | Lettland | Letland |
LB | Lebanon | Libanon | Libanon | Libanon |
LS | Lesotho | Lesotho | Lesotho | Lesotho |
LR | Liberia | Liberia | Liberia | Liberia |
LY | Libya | Libya | Libyen | Libyen |
LI | Liechtenstein | Liechtenstein | Liechtenstein | Liechtenstein |
LT | Lithuania | Litauen | Litauen | Litauen |
LU | Luxembourg | Luxembourg | Luxemburg | Luxembourg |
MO | Macao | Macao | Macao | Macao |
MG | Madagascar | Madagaskar | Madagaskar | Madagaskar |
MW | Malawi | Malawi | Malawi | Malawi |
MY | Malaysia | Malaysia | Malaysia | Malaysia |
MV | Maldives | Maldivene | Maldiverna | Maldiverne |
ML | Mali | Mali | Mali | Mali |
MT | Malta | Malta | Malta | Malta |
MH | Marshall Islands | Marshalløyene | Marshallöarna | Marshalløerne |
MQ | Martinique | Martinique | Martinique | Martinique |
MR | Mauritania | Mauritania | Mauretanien | Mauretanien |
MU | Mauritius | Mauritius | Mauritius | Mauritius |
YT | Mayotte | Mayotte | Mayotte | Mayotte |
MX | Mexico | Mexico | Mexiko | Mexico |
FM | Micronesia | Mikronesia | Mikronesien | Mikronesien |
MD | Moldova | Moldova | Moldavien | Moldova |
MC | Monaco | Monaco | Monaco | Monaco |
MN | Mongolia | Mongolia | Mongoliet | Mongoliet |
ME | Montenegro | Montenegro | Montenegro | Montenegro |
MS | Montserrat | Montserrat | Montserrat | Montserrat |
MA | Morocco | Marokko | Marocko | Marokko |
MZ | Mozambique | Mosambik | Moçambique | Mozambique |
MM | Myanmar | Myanmar | Myanmar | Myanmar |
NA | Namibia | Namibia | Namibia | Namibia |
NR | Nauru | Nauru | Nauru | Nauru |
NP | Nepal | Nepal | Nepal | Nepal |
NL | Netherlands | Nederland | Nederländerna | Holland |
NC | New Caledonia | Ny-Caledonia | Nya Kaledonien | Ny Kaledonien |
NZ | New Zealand | New Zealand | Nya Zeeland | New Zealand |
NI | Nicaragua | Nicaragua | Nicaragua | Nicaragua |
NE | Niger | Niger | Niger | Niger |
NG | Nigeria | Nigeria | Nigeria | Nigeria |
NU | Niue | Niue | Niue | Niue |
NF | Norfolk Island | Norfolkøya | Norfolkön | Norfolkøen |
KP | North Korea | Nord-Korea | Nordkorea | Nordkorea |
MK | North Macedonia | Nord-Makedonia | Makedonien | Nordmakedonien |
MP | Northern Mariana Islands | Nord-Marianene | Nordmarianerna | Nordmarianerne |
NO | Norway | Norge | Norge | Norge |
OM | Oman | Oman | Oman | Oman |
PK | Pakistan | Pakistan | Pakistan | Pakistan |
PW | Palau | Palau | Palau | Palau |
PS | Palestine | Palestina | Palestina | Palæstina |
PA | Panama | Panama | Panama | Panama |
PG | Papua New Guinea | Papua Ny-Guinea | Papua Nya Guinea | Papua Ny Guinea |
PY | Paraguay | Paraguay | Paraguay | Paraguay |
PE | Peru | Peru | Peru | Peru |
PH | Philippines | Filippinene | Filippinerna | Filippinerne |
PN | Pitcairn | Pitcairnøyene | Pitcairnöarna | Pitcairnøerne |
PL | Poland | Polen | Polen | Polen |
PT | Portugal | Portugal | Portugal | Portugal |
PR | Puerto Rico | Puerto Rico | Puerto Rico | Puerto Rico |
QA | Qatar | Qatar | Qatar | Qatar |
CG | Congo, the Republic | Kongo, republikken | Kongo-Brazzaville | Republikken Congo |
RE | Réunion | Réunion | Réunion | Réunion |
RO | Romania | Romania | Rumänien | Rumænien |
RU | Russia | Russland | Ryssland | Rusland |
RW | Rwanda | Rwanda | Rwanda | Rwanda |
BL | Saint-Barthélemy | Saint-Barthélemy | Saint-Barthélemy | Saint-Barthélemy |
SH | Saint Helena, Ascension and Tristan da Cunha | Saint Helena, Ascension og Tristan da Cunha | Saint Helena, Ascension och Tristan da Cunha | Saint Helena, Ascension og Tristan da Cunha |
KN | Saint Kitts and Nevis | Saint Kitts og Nevis | Saint Kitts och Nevis | Saint Kitts og Nevis |
LC | Saint Lucia | Saint Lucia | Saint Lucia | Saint Lucia |
MF | Saint-Martin (FR) | Saint-Martin (FR) | Saint-Martin (Franska delen) | Saint-Martin (FR) |
PM | Saint Pierre and Miquelon | Saint Pierre og Miquelon | Saint-Pierre och Miquelon | Saint Pierre og Miquelon |
VC | Saint Vincent and the Grenadines | Saint Vincent og Grenadinene | Saint Vincent och Grenadinerna | Saint Vincent og Grenadinerne |
WS | Samoa | Samoa | Samoa | Samoa |
SM | San Marino | San Marino | San Marino | San Marino |
ST | Sao Tome and Principe | São Tomé og Príncipe | São Tomé och Príncipe | São Tomé og Príncipe |
SA | Saudi Arabia | Saudi-Arabia | Saudi-Arabien | Saudi-Arabien |
SN | Senegal | Senegal | Senegal | Senegal |
RS | Serbia | Serbia | Serbien | Serbien |
SC | Seychelles | Seychellene | Seychellerna | Seychellerne |
SL | Sierra Leone | Sierra Leone | Sierra Leone | Sierra Leone |
SG | Singapore | Singapore | Singapore | Singapore |
SX | Sint Maarten (NL) | Sint Maarten (NL) | Sint Maarten (Nederländerna) | Sint Maarten (NL) |
SK | Slovakia | Slovakia | Slovakien | Slovakiet |
SI | Slovenia | Slovenia | Slovenien | Slovenien |
SB | Solomon Islands | Salomonøyene | Salomonöarna | Salomonøerne |
SO | Somalia | Somalia | Somalia | Somalia |
ZA | South Africa | Sør-Afrika | Sydafrika | Sydafrika |
GS | South Georgia and the South Sandwich Islands | Sør-Georgia og Sør-Sandwichøyene | Sydgeorgien och Sydsandwichöarna | Sydgeorgien og Sydsandwichøerne |
KR | South Korea | Sør-Korea | Sydkorea | Sydkorea |
SS | South Sudan | Sør-Sudan | Sydsudan | Sydsudan |
ES | Spain | Spania | Spanien | Spanien |
LK | Sri Lanka | Sri Lanka | Sri Lanka | Sri Lanka |
SD | Sudan | Sudan | Sudan | Sudan |
SR | Suriname | Surinam | Surinam | Surinam |
SJ | Svalbard and Jan Mayen | Svalbard og Jan Mayen | Svalbard och Jan Mayen | Svalbard og Jan Mayen |
SE | Sweden | Sverige | Sverige | Sverige |
CH | Switzerland | Sveits | Schweiz | Schweiz |
SY | Syria | Syria | Syrien | Syrien |
TW | Taiwan | Taiwan | Taiwan | Taiwan |
TJ | Tajikistan | Tadsjikistan | Tadzjikistan | Tadsjikistan |
TZ | Tanzania | Tanzania | Tanzania | Tanzania |
TH | Thailand | Thailand | Thailand | Thailand |
TG | Togo | Togo | Togo | Togo |
TK | Tokelau | Tokelau | Tokelau | Tokelau |
TO | Tonga | Tonga | Tonga | Tonga |
TT | Trinidad and Tobago | Trinidad og Tobago | Trinidad och Tobago | Trinidad og Tobago |
TN | Tunisia | Tunisia | Tunisien | Tunesien |
TR | Turkey | Tyrkia | Turkiet | Tyrkiet |
TM | Turkmenistan | Turkmenistan | Turkmenistan | Turkmenistan |
TC | Turks and Caicos Islands | Turks- og Caicosøyene | Turks- och Caicosöarna | Turks- og Caicosøerne |
TV | Tuvalu | Tuvalu | Tuvalu | Tuvalu |
VI | Virgin Islands (U.S) | De amerikanske Jomfruøyer | Amerikanska Jungfruöarna | Amerikanske Jomfruøer |
UG | Uganda | Uganda | Uganda | Uganda |
UA | Ukraine | Ukraina | Ukraina | Ukraine |
AE | United Arab Emirates | De forente arabiske emirater | Förenade Arabemiraten | De Forenede Arabiske Emirater |
GB | United Kingdom | Storbritannia | Storbritannien | Storbritannien |
US | United States | USA | USA | USA |
UM | United States Minor Outlying Islands | USAs ytre småøyer | USA:s yttre öar | USA’s ydre småøer |
UY | Uruguay | Uruguay | Uruguay | Uruguay |
UZ | Uzbekistan | Usbekistan | Uzbekistan | Usbekistan |
VU | Vanuatu | Vanuatu | Vanuatu | Vanuatu |
VA | Vatican | Vatikanstaten | Vatikanstaten | Vatikanstaten |
VE | Venezuela | Venezuela | Venezuela | Venezuela |
VN | Vietnam | Vietnam | Vietnam | Vietnam |
WF | Wallis and Futuna | Wallis og Futuna | Wallis och Futuna | Wallis og Futuna |
EH | Western Sahara | Vest-Sahara | Västsahara | Vestsahara |
YE | Yemen | Jemen | Jemen | Yemen |
ZM | Zambia | Zambia | Zambia | Zambia |
ZW | Zimbabwe | Zimbabwe | Zimbabwe | Zimbabwe |
AX | Åland Islands | Åland | Åland | Åland |