mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 13:19:11 +02:00
Add .dropdown class to CountryDropdownField to make it use chosen.js
This commit is contained in:
parent
a9fa281723
commit
218037b8cf
@ -19,6 +19,8 @@ class CountryDropdownField extends DropdownField {
|
|||||||
*/
|
*/
|
||||||
static $default_country = 'NZ';
|
static $default_country = 'NZ';
|
||||||
|
|
||||||
|
protected $extraClasses = array('dropdown');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the locale of the Member, or if we're not logged in or don't have a locale, use the default one
|
* Get the locale of the Member, or if we're not logged in or don't have a locale, use the default one
|
||||||
* @return string
|
* @return string
|
||||||
|
Loading…
Reference in New Issue
Block a user