mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-21 04:01:36 +02: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…
Reference in New Issue
Block a user