mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove invalid attributes
Headers do not have `type` & `name` attributes which are being inherited from the extended classes.
This commit is contained in:
parent
f80bdaba3b
commit
2c968d97a6
@ -72,6 +72,8 @@ class HeaderField extends DatalessField {
|
|||||||
array(
|
array(
|
||||||
'id' => $this->ID(),
|
'id' => $this->ID(),
|
||||||
'class' => $this->extraClass(),
|
'class' => $this->extraClass(),
|
||||||
|
'type' => null,
|
||||||
|
'name' => null
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user