Skip to content

Commit

Permalink
fixes #903 - TAB key does nothing in single-value mode when enforceWh…
Browse files Browse the repository at this point in the history
…itelist is true
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Sep 18, 2021
1 parent 81e45d0 commit de2b058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parts/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default {
onKeydown(e){
var _s = this.settings;

if( _s.mode == 'select' && _s.enforceWhitelist && this.value.length ){
if( _s.mode == 'select' && _s.enforceWhitelist && this.value.length && e.key != 'Tab' ){
e.preventDefault()
}

Expand Down

0 comments on commit de2b058

Please sign in to comment.