Fix autocomplete to dismiss after selecting
This commit is contained in:
@@ -58,7 +58,7 @@ module.exports = class InventoryController extends BaseController
|
||||
func = =>
|
||||
@onNameFieldChanged()
|
||||
@onAddButtonClicked()
|
||||
@$nameField.autocomplete 'search'
|
||||
@$nameField.blur()
|
||||
|
||||
setTimeout func, 10 # needed to allow the autocomplete to finish
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user