input-datalist.html 325 B

12345678
  1. <div class="mb-3">
  2. <label class="form-label">Datalist example</label>
  3. <input class="form-control" list="datalistOptions" placeholder="Type to search..."/>
  4. <datalist id="datalistOptions">
  5. {% for country in flags limit: 10 %}
  6. <option value="{{ country.name | escape }}"/>{% endfor %}
  7. </datalist>
  8. </div>