contao/test — Issue #2823: maxlength for TextAreas (FormTextArea.php)
Author: importer
Created: 2011-11-29 10:23:06+00:00
State: open
Labels: Feature, frontend

Why is the check for maxlength disabled for TextAreas in FormTextArea.php?

```
public function __set($strKey, $varValue)
{
switch ($strKey)
{
...
case 'maxlength':
// Not supported
break;
...
}
}
```

Is there any reason for this? If I comment out these lines, function Widget->validator() is correctly checking for the length of textarea's content.

Related issues: #1836

--- _Originally created by nfc036 on January 26th, 2011, at 08:53am (ID 2823)_