diff --git a/src/Forms/LabelField.php b/src/Forms/LabelField.php index 5d870e9c6..5b963f8c4 100644 --- a/src/Forms/LabelField.php +++ b/src/Forms/LabelField.php @@ -9,6 +9,10 @@ namespace SilverStripe\Forms; */ class LabelField extends DatalessField { + protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_STRUCTURAL; + + protected $schemaComponent = 'LabelField'; + /** * @param string $name * @param null|string $title