title: How to select an option of choice field with a value which is rendered by render_field in django template? I'm using django-widget-tweaks package
body: <p>I trying to render fields by looping form class field using django-widget-tweaks render_field. Fields are rendered as excepted, however, unable to select an option for combo box. Any Idea to make an option selected by value given.</p>
  
  <p>I have used value attribute to set the values of rendered fields which is working for charfield, but not for combo box.</p>
  
  <pre><code>{% for field in form.visible_fields %}
      &lt;div class="pan-sty"&gt;
          &lt;label class="th-color control-label font-normal"&gt;{{ attribute.1 }}&lt;/label&gt;
          {% render_field field class+="form-control" value|option=records|get_attrs:field.name %}
      &lt;/div&gt;
  {% endfor %}
  </code></pre>
  
  <p>Excepted output the value "Indirect-retail" should be selected in combo box </p>
  
  <pre><code>&lt;div class="pan-sty"&gt;
      &lt;label class="th-color control-label font-normal"&gt;Sales Channel&lt;/label&gt;
      &lt;select name="sales_channel" class="form-control" id="id_sales_channel"&gt;
          &lt;option value="" selected=""&gt;---------&lt;/option&gt;
  
          &lt;option value="Direct-web"&gt;Direct - Web&lt;/option&gt;
  
          &lt;option value="Direct-in-store"&gt;Direct - In-store&lt;/option&gt;
  
          &lt;option value="Direct-sales-rep"&gt;Direct- Sales Representative&lt;/option&gt;
  
          &lt;option value="Indirect-wholesale"&gt;Indirect - Wholesale&lt;/option&gt;
  
          &lt;option value="Indirect-retail" selected&gt;Indirect - Retail&lt;/option&gt;
  
          &lt;option value="Indirect-influencer"&gt;Indirect - Influencer&lt;/option&gt;
  
          &lt;option value="Indirect-affiliate"&gt;Indirect - Affiliate&lt;/option&gt;
  
      &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>but value getting added as "value" attribute in select tag</p>
  
  <pre><code>&lt;div class="pan-sty"&gt;
      &lt;label class="th-color control-label font-normal"&gt;Sales Channel&lt;/label&gt;
      &lt;select name="sales_channel" class="form-control" value="Indirect-retail" id="id_sales_channel"&gt;
          &lt;option value="" selected=""&gt;---------&lt;/option&gt;
  
          &lt;option value="Direct-web"&gt;Direct - Web&lt;/option&gt;
  
          &lt;option value="Direct-in-store"&gt;Direct - In-store&lt;/option&gt;
  
          &lt;option value="Direct-sales-rep"&gt;Direct- Sales Representative&lt;/option&gt;
  
          &lt;option value="Indirect-wholesale"&gt;Indirect - Wholesale&lt;/option&gt;
  
          &lt;option value="Indirect-retail"&gt;Indirect - Retail&lt;/option&gt;
  
          &lt;option value="Indirect-influencer"&gt;Indirect - Influencer&lt;/option&gt;
  
          &lt;option value="Indirect-affiliate"&gt;Indirect - Affiliate&lt;/option&gt;
  
      &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>