Skip to content

Commit

Permalink
Prettier.
Browse files Browse the repository at this point in the history
  • Loading branch information
atmgrifter00 committed Sep 24, 2024
1 parent 4d026ef commit 460c73c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/nimble-components/src/combobox/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,7 @@ export class Combobox
private forcedPosition = false;

private get isAutocompleteList(): boolean {
return (
this.autocomplete === ComboboxAutocomplete.list
);
return this.autocomplete === ComboboxAutocomplete.list;
}

public override slottedOptionsChanged(
Expand Down Expand Up @@ -343,9 +341,7 @@ export class Combobox
this.filter = this.control.value;
this.filterOptions();

this.selectedIndex = this.findIndexOfValidOption(
this.control.value
);
this.selectedIndex = this.findIndexOfValidOption(this.control.value);

if (!e.inputType.includes('deleteContent') && this.filter.length) {
if (this.isAutocompleteList && !this.open) {
Expand Down

0 comments on commit 460c73c

Please sign in to comment.