diff --git a/ember-power-select/src/components/power-select.hbs b/ember-power-select/src/components/power-select.hbs index e94033552..3e93fbfa3 100644 --- a/ember-power-select/src/components/power-select.hbs +++ b/ember-power-select/src/components/power-select.hbs @@ -67,7 +67,7 @@ role={{or @triggerRole "combobox"}} title={{@title}} id={{this.triggerId}} - tabindex={{and (not @disabled) (or @tabindex "0")}} + tabindex={{and (not @disabled) (or this.tabindex "0")}} ...attributes > {{#let diff --git a/ember-power-select/src/components/power-select.ts b/ember-power-select/src/components/power-select.ts index 3083c5298..a678642b9 100644 --- a/ember-power-select/src/components/power-select.ts +++ b/ember-power-select/src/components/power-select.ts @@ -370,12 +370,24 @@ export default class PowerSelectComponent extends Component { @action onSearch(evt: Event) { - this.args.select.actions.search((evt.target as HTMLInputElement).value ?? ''); + this.args.select.actions.search( + (evt.target as HTMLInputElement).value ?? '', + ); } }