test that input value is not affected by auto suggest

This commit is contained in:
Taylor Griffin
2014-08-24 10:53:24 +10:00
parent ca41f86d93
commit d038ac6d8a
2 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ jQuery ->
el.autocomplete
minLength: 1,
source: el.attr( 'data-source-url' ),
autoFocus: true,
focus: ( event, ui ) ->
el.val( ui.item.name )
id.val( ui.item.id )