File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
lib/internal/Magento/Framework/Data/Form/Element Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Magento \Framework \Escaper ;
15
15
16
- /**
17
- * @method Textarea setExtType($extType)
18
- * @method mixed getCols()
19
- * @method Textarea setCols($cols)
20
- * @method mixed getRows()
21
- * @method Textarea setRows($rows)
22
- */
23
16
class Textarea extends AbstractElement
24
17
{
25
18
/**
26
- * default number of rows
27
- *
28
- * @var int
19
+ * Default number of rows
29
20
*/
30
21
const DEFAULT_ROWS = 2 ;
22
+
31
23
/**
32
- * default number of cols
33
- *
34
- * @var int
24
+ * Default number of columns
35
25
*/
36
26
const DEFAULT_COLS = 15 ;
37
27
@@ -89,9 +79,8 @@ public function getHtmlAttributes()
89
79
public function getElementHtml ()
90
80
{
91
81
$ this ->addClass ('textarea ' );
92
- $ html = '<textarea id=" ' . $ this ->getHtmlId () . '" name=" ' . $ this ->getName () . '" ' . $ this ->serialize (
93
- $ this ->getHtmlAttributes ()
94
- ) . $ this ->_getUiId () . ' > ' ;
82
+ $ html = '<textarea id=" ' . $ this ->getHtmlId () . '" name=" ' . $ this ->getName () . '" '
83
+ . $ this ->serialize ($ this ->getHtmlAttributes ()) . $ this ->_getUiId () . ' > ' ;
95
84
$ html .= $ this ->getEscapedValue ();
96
85
$ html .= "</textarea> " ;
97
86
$ html .= $ this ->getAfterElementHtml ();
You can’t perform that action at this time.
0 commit comments