Skip to content

Commit

Permalink
use #selected_option id on autocomplete highlighted option
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcobain committed Mar 20, 2019
1 parent 654787a commit 864a7f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/templates/components/paper-autocomplete-options.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{#each options as |opt|}}
<li
class="ember-power-select-option {{if (eq opt.raw select.highlighted) "selected"}}"
id={{if (eq opt.raw select.highlighted) "selected_option"}}
class="ember-power-select-option"
aria-selected={{ember-power-select-is-selected opt.raw select.selected}}
aria-disabled={{ember-power-select-true-string-if-present opt.disabled}}
aria-current={{eq opt.raw select.highlighted}}
Expand Down

0 comments on commit 864a7f8

Please sign in to comment.