diff --git a/lib/zin/wg/textarea/v1.php b/lib/zin/wg/textarea/v1.php index 302e837c8f..5f991b91e9 100644 --- a/lib/zin/wg/textarea/v1.php +++ b/lib/zin/wg/textarea/v1.php @@ -39,7 +39,7 @@ class textarea extends wg return h::textarea ( - set($this->props->pick(array('name', 'id', 'class', 'placeholder', 'rows', 'cols', 'disabled'))), + set($this->props->pick(array('name', 'id', 'class', 'placeholder', 'rows', 'cols', 'disabled', 'readonly'))), $this->prop('required') ? setClass('is-required') : null, $this->prop('value'), $autoHeight ? on::init()->do('$element.autoHeight()') : null,