123456789 |
- {% assign options = include.options | default: "One,Two,Three" | split: "," %}
- <div class="mb-3">
- <div class="form-label">{{ include.label | default: 'Select' }}</div>
- <select class="form-select" {% if include.multiple %} multiple{% endif %}>
- {% for option in options %}
- <option value="{{ forloop.index }}">{{ option }}</option>
- {% endfor %}
- </select>
- </div>
|