Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

iksi/kirby-country-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Kirby custom country field

Custom country select field for kirby. Countries used (select ‘Country codes’).

Installation

git submodule add https://github.com/iksi/kirby-country-field.git site/fields/country
Or place a country folder in /site/fields with the repository’s contents.

Usage

You can define the country field in your blueprint as follows:

country:
  label: Country
  type: country
  format: name
  default: Belgium

As format you can either use code or name which determins whether the country’s iso code or name is being used as a the value that will be stored:

country:
  label: Country
  type: country
  format: code
  default: be

Future

Converting this into a field with a datalist as soon as Safari supports them.

About

Custom form field for kirby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages