/**
* Update ClientSide Readonly property
* @param boolean value
* @since 3.1.2
*/
public function setReadOnly($value)
{
$value = TPropertyValue::ensureBoolean($value);
if (TTextBox::getReadOnly() === $value) {
return;
}
TTextBox::setReadOnly($value);
if ($this->getActiveControl()->canUpdateClientSide()) {
$this->callClientFunction('setReadOnly', $value);
}
}