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 54d9afe commit 394c4c0Copy full SHA for 394c4c0
src/TypiCMS/BootForms/Elements/FormGroup.php
@@ -18,6 +18,7 @@ class FormGroup extends Element
18
public function __construct(Label $label, Element $control)
19
{
20
$this->label = $label;
21
+ $this->label->addClass('form-label');
22
$this->control = $control;
23
$this->addClass('mb-3');
24
}
src/TypiCMS/BootForms/Elements/GroupWrapper.php
@@ -71,7 +71,7 @@ public function hideLabel()
71
public function required($conditional = true)
72
73
if ($conditional) {
74
- $this->formGroup->label()->addClass('control-label-required');
+ $this->formGroup->label()->addClass('form-label-required');
75
76
77
call_user_func_array([$this->target, 'required'], [$conditional]);
0 commit comments