We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0d98f commit 095a655Copy full SHA for 095a655
1 file changed
framework/core/forms/controls/bootstrap5/genericcontrol.php
@@ -95,10 +95,10 @@ function controlToHTML($name, $label) {
95
if (!empty($this->prepend)) {
96
if (!USE_BOOTSTRAP_ICONS) {
97
$html .= '<div class="input-group input-group-sm">';
98
- $html .= '<i class="input-group-text fas fa-'.$this->prepend.'"></i>';
+ $html .= '<span><i class="input-group-text fas fa-'.$this->prepend.'"></i></span>';
99
} else {
100
101
- $html .= '<i class="input-group-text bi bi-'.expTheme::buttonIcon($this->prepend)->class.'"></i>';
+ $html .= '<span><i class="input-group-text bi bi-'.expTheme::buttonIcon($this->prepend)->class.'"></i></span>';
102
}
103
104
if (!empty($this->append)) {
0 commit comments