Update DropdownField.php
Update the enum example with a namespaces classname
This commit is contained in:
parent
1eadc84a22
commit
90a3d60b59
|
@ -68,7 +68,7 @@ use SilverStripe\View\ArrayData;
|
|||
* DropdownField::create(
|
||||
* 'Country',
|
||||
* 'Country',
|
||||
* singleton('MyObject')->dbObject('Country')->enumValues()
|
||||
* singleton(MyObject::class)->dbObject('Country')->enumValues()
|
||||
* );
|
||||
* </code>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue