Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Jan 17, 2024
1 parent 48b8756 commit f748de9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{!-- template-lint-disable require-aria-activedescendant-tabindex --}}
{{!-- template-lint-disable no-positive-tabindex --}}
<input
type="search"
class="ember-power-select-trigger-multiple-input"
Expand Down
1 change: 1 addition & 0 deletions ember-power-select/src/components/power-select.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
lastSearchedText=this.lastSearchedText
actions=(assign dropdown.actions this._publicAPIActions)
)) (concat "ember-power-select-options-" dropdown.uniqueId) as |publicAPI listboxId|}}
{{!-- template-lint-disable no-positive-tabindex --}}
<dropdown.Trigger
@eventType={{or @eventType "mousedown"}}
{{did-insert this._updateOptions @options}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{#if @searchEnabled}}
<div class="ember-power-select-search">
{{!-- template-lint-disable require-input-label --}}
<input type="search"
autocomplete="off"
autocorrect="off"
Expand Down
1 change: 1 addition & 0 deletions ember-power-select/src/components/power-select/trigger.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<span class="ember-power-select-selected-item">{{yield @select.selected @select}}</span>
{{/if}}
{{#if (and @allowClear (not @select.disabled))}}
{{!-- template-lint-disable no-pointer-down-event-binding --}}
<span class="ember-power-select-clear-btn" role="button" {{on "mousedown" this.clear}} {{on "touchstart" this.clear}}>&times;</span>
{{/if}}
{{else}}
Expand Down

0 comments on commit f748de9

Please sign in to comment.