Improved input handling.
This commit is contained in:
parent
e231855fb7
commit
7d6d07fed7
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class App.UserOrganizationAutocompletion extends App.Controller
|
||||||
@el.find('[name="' + @attribute.name + '_completion"]').on(
|
@el.find('[name="' + @attribute.name + '_completion"]').on(
|
||||||
'keyup',
|
'keyup',
|
||||||
(e) =>
|
(e) =>
|
||||||
item = $(e.target).val()
|
item = $(e.target).val().trim()
|
||||||
|
|
||||||
#@log('CC', e.keyCode, item)
|
#@log('CC', e.keyCode, item)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue