Skip to content

Commit

Permalink
fix(QSelect): autofocus attr was not set when not using use-input #13831
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan committed Jul 1, 2022
1 parent 876e73c commit f9946c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/components/select/QSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,7 @@ export default Vue.extend({
attrs: {
id: isTarget === true ? this.targetUid : void 0,
tabindex: this.tabindex,
'data-autofocus': (fromDialog !== true && this.autofocus) || void 0,
...attrs
},
on: cache(this, 'f-tget', {
Expand Down

0 comments on commit f9946c8

Please sign in to comment.