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 49eefcd commit 1353190Copy full SHA for 1353190
src/Bulma/Field.php
@@ -17,7 +17,7 @@ public function __construct()
17
public function setError(string $message): void
18
{
19
parent::setError($message);
20
- $this->removeClass('error');
+ $this->removeClass('has-error');
21
}
22
23
public function renderDom(\DOMDocument $doc): \DOMElement
src/Field.php
@@ -124,9 +124,9 @@ public function validate(): string
124
125
126
if ($message) {
127
- $this->addClass('error');
+ $this->addClass('has-error');
128
} else {
129
130
131
if ($this->label) {
132
$this->label->setError($message);
0 commit comments