parfaitementweb / statamic-country-fieldtype
Country dropdown with ISO 3166 options values
Installs: 8 640
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Language:Vue
This package is auto-updated.
Last update: 2024-12-17 15:32:54 UTC
README
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:
-
Install the addon
Simply runcomposer require parfaitementweb/statamic-country-fieldtype
You also can follow official Statamic help guide -
Add the Country fieldtype.
Choose your display and hanlde values. Customize the behavior using our various fieldtypes settings. -
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?
Changelog
V1.0.0
🚀 Launching this awesome fieldtype to every country.