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