title: Programmatically select the first suggestion in django-autocomplete-light
body: <p>How can I select the first given option? I'm feeding the autocomplete widget with the data from reverse geocoding results (city) basing on user's location. I have a database with cities and I need to select the first suggested option.</p>
  
  <p><strong>autocomplete_light_registry.py</strong></p>
  
  <pre><code>autocomplete_light.register(
      City,
      search_fields=('^name',),
      autocomplete_js_attributes={'placeholder': _('Start typing...')}
  )
  </code></pre>
  
  <p><strong>forms.py</strong></p>
  
  <pre><code>class CustomerForm(forms.ModelForm):
      city = forms.ModelChoiceField(City.objects.all(), label=_('City'), widget=autocomplete_light.ChoiceWidget('CityAutocomplete'))
  </code></pre>
  
  <p><strong>locations.js</strong></p>
  
  <pre><code>$('#id_city_text').val(ymaps.geolocation.city);
  var autocomplete = $('#id_city_text').yourlabsAutocomplete();
  autocomplete.refresh();
  </code></pre>
  
  <p>Thanks for your help.</p>
  
  <p>Screenshots:</p>
  
  <ul>
  <li><a href="http://cl.ly/image/2V0I373e2C0M" rel="nofollow">http://cl.ly/image/2V0I373e2C0M</a> (achieved)</li>
  <li><a href="http://cl.ly/image/3S2p382o2N12" rel="nofollow">http://cl.ly/image/3S2p382o2N12</a> (goal)</li>
  </ul>
  
  <p>References:</p>
  
  <ul>
  <li><a href="https://github.com/yourlabs/django-autocomplete-light" rel="nofollow">https://github.com/yourlabs/django-autocomplete-light</a></li>
  <li><a href="http://django-autocomplete-light.readthedocs.org/en/latest/" rel="nofollow">http://django-autocomplete-light.readthedocs.org/en/latest/</a></li>
  </ul>