Create form with
<field name='description'
type="editor"
cols="5"
rows="5"
label='COM_NKCOMP_FIELD_GROUPTARGET_LABEL'
description='COM_NKCOMP_FIELD_DESC'
required="true"
buttons="false"
filter="JComponentHelper::filterText"
/>
When rendered in components administration view, the value for the attribute "cols" is not shown in the HTML output for the according textarea element.
Value for cols should be passed to HTML-Element.
Empty attribute in HTML-Element textarea: cols=""
Linux, Apache2, php 5.4
traced it down to libraries/cms/form/field/editor/editor.php line 249:
249c249
< $this->name, htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8'), $this->width, $this->height, $this->cols, $this->rows,
---
> $this->name, htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8'), $this->width, $this->height, $this->columns, $this->rows,
In JFormFieldTextarea is no class variable "cols" but a class variable "columns".
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-27 20:36:57 |
Closed_By | ⇒ | zero-24 | |
Build | 3.3.6 | ⇒ | staging |
Closing as we have a PR: #7277