I have updated to 2.0.11 core and my contact form select does not display the list of countries. Downgrade back to 2.0.10, the list displays as before.
My partial php function:
JS
public static function countryList()
{
Return [
'Afghanistan' => 'Afghanistan',
'Albania' => 'Albania',
'Algeria' => 'Algeria',
'Zimbabwe' => 'Zimbabwe'
];
}
my partial contact.md
YAML
country:
label: false
type: select
outerclasses: 'col-6 col-12-small'
classes: null
placeholder: Country
selectize:
create: true
data-options@:
- '\Grav\Theme\mytheme_child::countryList'
validate:
required: true