title: How to set as selected first value by default from a select list in Twig
body: <p>I have create select list with following code. it is working fine. but, it does selected by default last value(option). How to set as selected first value by default from a select list in Twig</p>
  
  <p><strong>My Code:</strong></p>
  
  <pre><code>&lt;select name="my_item"&gt;
      &lt;option value="3" {% if my_item == '3' %} selected="selected" {% endif %}&gt;3&lt;/option&gt;
      &lt;option value="4" {% if my_item == '4' %} selected="selected" {% endif %}&gt;4&lt;/option&gt;
      &lt;option value="5" {% if my_item == '5' %} selected="selected" {% endif %}&gt;5&lt;/option&gt;
      &lt;option value="6" {% if my_item == '6' %} selected="selected" {% endif %}&gt;6&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p><strong>I got:</strong></p>
  
  <pre><code>&lt;select name="my_item"&gt;
      &lt;option value="3"&gt;3&lt;/option&gt;
      &lt;option value="4"&gt;4&lt;/option&gt;
      &lt;option value="5"&gt;5&lt;/option&gt;
      &lt;option value="6" selected="selected"&gt;6&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p><strong>I Want:</strong></p>
  
  <pre><code>&lt;select name="my_item"&gt;
      &lt;option value="3" selected="selected"&gt;3&lt;/option&gt;
      &lt;option value="4"&gt;4&lt;/option&gt;
      &lt;option value="5"&gt;5&lt;/option&gt;
      &lt;option value="6"&gt;6&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>