select.html 368 字节
Newer Older
C
codecalm 已提交
1
{% assign options = include.options | default: "One,Two,Three" | split: "," %}
2
<div class="mb-3">
C
codecalm 已提交
3 4 5 6 7 8
	<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>
9
</div>