diff --git a/src/components/select/bl-select.ts b/src/components/select/bl-select.ts index 6c21fa5f..8738fc78 100644 --- a/src/components/select/bl-select.ts +++ b/src/components/select/bl-select.ts @@ -586,12 +586,12 @@ export default class BlSelect extends Form private _handleSearchOptions(e: InputEvent): void { if (!this.searchBar) return; - this._searchText = (e.target as HTMLInputElement).value.toLowerCase(); + this._searchText = (e.target as HTMLInputElement).value; this._handleSearchEvent(); this._connectedOptions.forEach(option => { - const isVisible = option.textContent?.toLowerCase().includes(this._searchText); + const isVisible = option.textContent?.toLowerCase().includes(this._searchText.toLowerCase()); option.hidden = !isVisible; });