<option></option>
		{% if itemvals == '' or itemvals is empty %}
			{% for val in value|default([0,1]) %}
				<option value="{{ val|replace({', ': ','}) }}">{{ text[loop.index0]|default(val) }}</option>
			{% endfor %}
		{% endif %}
		</select>
	{% else %}
		<div{% if not id is empty %} id="{{ uid(page, id) }}"{% endif %} data-widget="basic.select"{% if group != 'none' %} data-role="controlgroup" data-type="{{ group|default('horizontal') }}"{% endif %}>
			{% for val in value|default([0,1]) %}
				{% set pi