mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX Fixed usage of FieldEditor->performReadonlyTransformation()
This commit is contained in:
parent
459c127d51
commit
7b37a32b10
@ -13,8 +13,9 @@ class FieldEditor extends FormField {
|
||||
}
|
||||
|
||||
function performReadonlyTransformation() {
|
||||
$this->readonly = true;
|
||||
return $this;
|
||||
$clone = clone $this;
|
||||
$clone->setReadonly(true);
|
||||
return $clone;
|
||||
}
|
||||
|
||||
function makeReadonly() {
|
||||
|
Loading…
Reference in New Issue
Block a user