mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #769 from silbinarywolf/fix-formatted-value-not-casting
fix(SubmittedFormField): Fix bug where FormattedValue isn't cast to HTMLFragment
This commit is contained in:
commit
2359065887
@ -27,6 +27,10 @@ class SubmittedFormField extends DataObject
|
||||
'FormattedValue' => 'Value'
|
||||
];
|
||||
|
||||
private static $casting = [
|
||||
'FormattedValue' => 'HTMLFragment'
|
||||
];
|
||||
|
||||
private static $table_name = 'SubmittedFormField';
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user