mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: merged patch from ajshort to fix checkbox fields in the cms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64770 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
17705be0bc
commit
03830e1baa
@ -19,7 +19,7 @@ class CheckboxField extends FormField {
|
|||||||
'class' => ($this->extraClass() ? $this->extraClass() : ''),
|
'class' => ($this->extraClass() ? $this->extraClass() : ''),
|
||||||
'id' => $this->id(),
|
'id' => $this->id(),
|
||||||
'name' => $this->Name(),
|
'name' => $this->Name(),
|
||||||
'value' => 1,
|
'checked' => $this->value ? 'checked' : '',
|
||||||
'tabindex' => $this->getTabIndex()
|
'tabindex' => $this->getTabIndex()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user