mirror of
https://github.com/nunntom/elm-ui-select.git
synced 2024-11-22 21:19:26 +03:00
Only select on tab if nothing already selected
This commit is contained in:
parent
9c71f6626f
commit
a8ad87867c
@ -206,7 +206,7 @@ handleKey selectOnTab tagger model key filteredOptions =
|
||||
( Model.closeMenu model, Effect.none )
|
||||
|
||||
"Tab" ->
|
||||
if selectOnTab then
|
||||
if selectOnTab && Model.toValue model == Nothing then
|
||||
selectHighlighted
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user