mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Always cast formfield display value as a string to avoid 0 being blank
This commit is contained in:
parent
d8cd085190
commit
db466fb013
@ -106,7 +106,7 @@ class DropdownField extends SingleSelectField
|
||||
}
|
||||
|
||||
return new ArrayData(array(
|
||||
'Title' => $title,
|
||||
'Title' => (string)$title,
|
||||
'Value' => $value,
|
||||
'Selected' => $selected,
|
||||
'Disabled' => $disabled,
|
||||
|
Loading…
x
Reference in New Issue
Block a user