title: Autocomplete Form with Specific Terms
body: <p>I'm working with a web application that is developed with the Phoenix Framework (written in Elixir).</p>
  
  <p>I've got a form field that currently looks like this:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
    &lt;%= select f, :category_id, @categories, class: "form-control" %&gt;
    &lt;%= error_tag f, :category_id %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This allows users to select a category from a drop down list (which is okay); however, what I'd like users to see is a standard text field that will autocomplete the string that the enter with categories from my database as they start typing it.</p>
  
  <p>Very similar functionality as the Tags field that we use when posting a question on Stack Overflow.</p>
  
  <p>What would that be the best way to do this with a Phoenix application? I've tried using jQuery Autocomplete; however, I'd like a more 'light weight' solution (that doesn't require jQuery).</p>
  
  <p>Any ideas are greatly appreciated. Thank you for your time.</p>