Added functionality to trigger 'enter' event for searchable select input fields.
This commit is contained in:
parent
b981d0fccd
commit
bfc73568c9
1 changed files with 3 additions and 0 deletions
|
@ -322,6 +322,9 @@ class App.SearchableSelect extends Spine.Controller
|
|||
if @shadowInput.val() is ''
|
||||
event.preventDefault()
|
||||
@toggle()
|
||||
else
|
||||
@trigger 'enter'
|
||||
@el.trigger 'enter'
|
||||
return
|
||||
|
||||
event.preventDefault()
|
||||
|
|
Loading…
Reference in a new issue