parfaitementweb/statamic-country-fieldtype

There is no license information available for the latest version (1.0.0) of this package.

Country dropdown with ISO 3166 options values

1.0.0 2021-03-08 11:12 UTC

This package is auto-updated.

Last update: 2024-05-17 14:16:53 UTC


README

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 70+ 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.