We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2830282 commit dacc324Copy full SHA for dacc324
src/TextArea.php
@@ -14,12 +14,6 @@ public function __construct()
14
$this->tag('textarea');
15
}
16
17
- public function type(string $type): self
18
- {
19
- $this->type = strtolower($type);
20
- return $this;
21
- }
22
-
23
public function name(string $name): self
24
{
25
$this->name = $name;
@@ -59,7 +53,6 @@ public function setError(string $message): void {}
59
53
public function renderDom(\DOMDocument $doc): \DOMElement
60
54
61
55
$textarea = $this->renderElement($doc);
62
- $textarea->setAttribute('type', $this->type);
63
56
$textarea->setAttribute('name', $this->name);
64
57
$textarea->textContent = $this->value;
65
58
return $textarea;
0 commit comments