Skip to content

Commit dacc324

Browse files
committed
update
1 parent 2830282 commit dacc324

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/TextArea.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ public function __construct()
1414
$this->tag('textarea');
1515
}
1616

17-
public function type(string $type): self
18-
{
19-
$this->type = strtolower($type);
20-
return $this;
21-
}
22-
2317
public function name(string $name): self
2418
{
2519
$this->name = $name;
@@ -59,7 +53,6 @@ public function setError(string $message): void {}
5953
public function renderDom(\DOMDocument $doc): \DOMElement
6054
{
6155
$textarea = $this->renderElement($doc);
62-
$textarea->setAttribute('type', $this->type);
6356
$textarea->setAttribute('name', $this->name);
6457
$textarea->textContent = $this->value;
6558
return $textarea;

0 commit comments

Comments
 (0)