contao/import — Issue #3064: DCA: rows and cols doesn't work as expected for textarea
Author: DyaGa
Created: 2011-11-29 20:48:08+00:00
State: open
Labels: Defect, Invalid

It seems that `rows` and `cols` keys for `textarea` in evaluation array doesn't work as expected.

For example, I have this code in DCA:

```
'comment' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_member']['comment'],
'exclude' => true,
'inputType' => 'textarea',
'eval' => array('feEditable'=>true, 'rows'=>4, 'cols'=>110, 'feViewable'=>true, 'feGroup'=>'personal', 'tl_class'=>'clr')
)
```

But after reloading page in backend the width and height of textarea are the same as before (see attached image). Textarea has default values from `base.css`

```
.tl_textarea {
height: 240px;
width: 680px;
}
```

[Download the attachments](http://www.contao.org/tl_files/tickets/3064.zip "Download the attachments of this ticket")

--- _Originally created on May 11th, 2011, at 11:22am (ID 3064)_