Skip to content

Commit 095a655

Browse files
committed
fix bs5 autocomplete widget
1 parent 2e0d98f commit 095a655

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

framework/core/forms/controls/bootstrap5/genericcontrol.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ function controlToHTML($name, $label) {
9595
if (!empty($this->prepend)) {
9696
if (!USE_BOOTSTRAP_ICONS) {
9797
$html .= '<div class="input-group input-group-sm">';
98-
$html .= '<i class="input-group-text fas fa-'.$this->prepend.'"></i>';
98+
$html .= '<span><i class="input-group-text fas fa-'.$this->prepend.'"></i></span>';
9999
} else {
100100
$html .= '<div class="input-group input-group-sm">';
101-
$html .= '<i class="input-group-text bi bi-'.expTheme::buttonIcon($this->prepend)->class.'"></i>';
101+
$html .= '<span><i class="input-group-text bi bi-'.expTheme::buttonIcon($this->prepend)->class.'"></i></span>';
102102
}
103103
}
104104
if (!empty($this->append)) {

0 commit comments

Comments
 (0)