Country Fieldtype

Parfaitement Web
Country Fieldtype

Statamic 3.0+

The simplest way to list every country as a selectable dropdown 🤘

Features

  • Display a select field with every ISO 639-1 language. tl;dr: The two-letter code.
  • Built-in localization in 22 languages.
  • Set a placeholder.
  • Allow multiple selections.
  • Set a maximum number of selectable items.
  • Enable searching through possible options.

Getting Started

We have made things easy for you start. Here is the three steps your need to follow:

  1. Install the addon
    Simply run composer require parfaitementweb/statamic-country-fieldtype
    You also can follow official Statamic help guide

  2. Add the Country fieldtype.
    Choose your display and hanlde values. Customize the behavior using our various fieldtypes settings.

  3. Enjoy.

Built-in translations

Country values are automaticaly displayed in current user locale, based on the current locale from the App::getLocale() value.

The addon supports Afrikaans, Amharic, Arabic, Azerbaijani, Belorussian, Bulgarian, Bengali, Bosnian, Catalan, Czech, Danish, German, English, Spanish, Estonian, Persian, Finnish, French, Galician, Greek, Hausa, Hebrew, Hindi, Croatian, Hungarian, Armenian, Icelandic, Italian, Indonesian, Japanese, Georgian, Kazakh, Khmer, Korean, Kurdish, Kyrgyz, Lithuanian, Latvian, Macedonian, Malayalam, Mongolian, Malay, Norwegian Bokmål, Dutch, Norwegian Nynorsk, Norwegian, Polish, Pashto, Portuguese, Romanian, Russian, Sindhi, Slovak, Slovene, Somali, Albanian, Serbian, Swedish, Tamil, Tajik, Thai, Turkish, Tatar, Uyghur, Ukrainian, Urdu, Uzbek, Chinese, Vietnamese.

What does your addon look like?

Statamic Language Country Dropdown

Statamic Language Country Options

Statamic Language Country Options

Changelog

V1.0.0
🚀 Launching this awesome fieldtype to every country.