ui autocomplete submit form on select

ui autocomplete submit form on select

if I use
  1.             close: function(event, ui)  {
                   $(this).get(0).form.submit();
                }


everything works as expected, the form is submitted with the selected value.
However, of course if I correct my input, the form closes and submits.

If I change close to select, the form is submitted, but not with the selected value. Maybe someone has a quick workaround for that.