mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
parent
d21e03d4ed
commit
c8b3593090
@ -563,12 +563,16 @@ class Form extends ViewableData implements HasRequestHandler
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert this form into a readonly form
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function makeReadonly()
|
||||
{
|
||||
$this->transform(new ReadonlyTransformation());
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user