ninja/ui — Issue #50: No obvious way to name autocomplete input
Author: six8
Created: 2012-02-25 08:33:58+00:00
State: open

You can't specify the name for the input field with the normal autocomplete options.

It would be nice to do:

$autocomplete = $.ninja.autocomplete({name: 'q'})

However this just puts the name on the wrapping span.

Currently you have to do the following which is neither obvious or convenient:

$autocomplete.find('input').attr('name', 'q')