diff --git a/src/components/select/bl-select.ts b/src/components/select/bl-select.ts index 96fca453..251ca6b8 100644 --- a/src/components/select/bl-select.ts +++ b/src/components/select/bl-select.ts @@ -387,9 +387,9 @@ export default class BlSelect extends Form : ""; const isSearchBarVisible = this.searchBar && this.opened; - const isMultipleWithSelection = this.multiple && this._selectedOptions.length > 0; + const hasSelectedOptions = this._selectedOptions.length > 0; - const isDividerShown = isSearchBarVisible || isMultipleWithSelection; + const isDividerShown = isSearchBarVisible || (hasSelectedOptions && isRemoveButtonShown); const searchbarPlaceholderText = this.searchBarPlaceholder ?? msg("Search", { desc: "bl-select: search placeholder text" });