mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fixed readonly transformation of TreeMultiselectField in cases where $this->value is explicitly set. (from r95962)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98103 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d64a9c28ca
commit
589d9216c9
@ -101,6 +101,7 @@ HTML;
|
|||||||
$field = new TreeMultiselectField_Readonly($this->name, $this->title, $this->sourceObject, $this->keyField, $this->labelField);
|
$field = new TreeMultiselectField_Readonly($this->name, $this->title, $this->sourceObject, $this->keyField, $this->labelField);
|
||||||
$field->addExtraClass($this->extraClass());
|
$field->addExtraClass($this->extraClass());
|
||||||
$field->setForm($this->form);
|
$field->setForm($this->form);
|
||||||
|
$field->setValue($this->value);
|
||||||
return $field;
|
return $field;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user