Skip to content

Commit dbeb7dc

Browse files
authored
Fix staticField
1 parent 42bcb9e commit dbeb7dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public function staticField($name, $label = null, $value = null, array $options
323323
$wrapperElement = '<div' . $this->html->attributes($wrapperOptions) . '>' . $inputElement . $this->getFieldError($name) . $comment . '</div>';
324324
$groupOptions = $this->getGroupOptions($options);
325325

326-
return $this->getFormGroupWithLabel($name, $options['id'] ?? $label, $wrapperElement, $groupOptions);
326+
return $this->getFormGroupWithLabel($name, $label, $wrapperElement, $groupOptions);
327327
}
328328

329329

0 commit comments

Comments
 (0)