Skip to content

Commit 212cd77

Browse files
committed
Remove unused internal selected getter
1 parent 3d4431c commit 212cd77

File tree

1 file changed

+0
-15
lines changed
  • packages/ember-toucan-core/src/components/form/controls

1 file changed

+0
-15
lines changed

packages/ember-toucan-core/src/components/form/controls/combobox.ts

-15
Original file line numberDiff line numberDiff line change
@@ -191,21 +191,6 @@ export default class ToucanFormComboboxControlComponent<
191191
return this.filteredOptions || this.args?.options;
192192
}
193193

194-
/**
195-
* The internal currently selected item.
196-
*/
197-
get selected(): string | undefined {
198-
let { optionKey, selected } = this.args;
199-
200-
if (!selected) {
201-
return undefined;
202-
}
203-
204-
return (
205-
typeof selected === 'object' && optionKey ? selected[optionKey] : selected
206-
) as string;
207-
}
208-
209194
/**
210195
* Attempts to scroll the active or newly highlighted item into view for the user.
211196
*/

0 commit comments

Comments
 (0)