Skip to content
Browse files

fixes #18

  • Loading branch information...
1 parent be1463d commit eb5f58461a29f01e2e2d19cb9a002bd5bfb63535 @Zeelot committed Jul 15, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 classes/yuriko/yform/field/textarea.php
View
5 classes/yuriko/yform/field/textarea.php
@@ -13,7 +13,10 @@ public function __construct($name)
{
parent::__construct($name);
- $this->set_attribute('type', 'textarea');
+ $this->set_attribute('type', 'textarea')
+ // Textareas should have a default rows and cols attribute
+ ->set_attribute('rows', '10')
+ ->set_attribute('cols', '50');
}
public function render()

0 comments on commit eb5f584

Please sign in to comment.
Something went wrong with that request. Please try again.