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:
Daniel Hensby 2018-05-09 13:34:42 +01:00 committed by GitHub
commit 2359065887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,10 @@ class SubmittedFormField extends DataObject
'FormattedValue' => 'Value' 'FormattedValue' => 'Value'
]; ];
private static $casting = [
'FormattedValue' => 'HTMLFragment'
];
private static $table_name = 'SubmittedFormField'; private static $table_name = 'SubmittedFormField';
/** /**