Skip to content

Commit

Permalink
Convert to html string.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Feb 16, 2016
1 parent 6ce90a5 commit 49a5a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/InputTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function textarea($name, $value = null, $options = [])
// the element. Then we'll create the final textarea elements HTML for us.
$options = $this->html->attributes($options);

return '<textarea'.$options.'>'.e($value).'</textarea>';
return $this->toHtmlString('<textarea'.$options.'>'.e($value).'</textarea>');
}

/**
Expand Down

0 comments on commit 49a5a45

Please sign in to comment.