alse') }}" data-max-days="{{ max|default('false') }}"
				data-stringformat ="{{ format|default('false') }}" {% if format is not empty %}data-options='{"overrideDatetimeFormat":"{{ format }}" }'{% endif %}
			{% else %}
				type="{{ type|default('text') }}"
				min="{{ min }}" max="{{ max }}" step="{{ step|default(1) }}"
			{% endif %}
			data-clear-btn="false" />
	{% endif %}
{% endmacro %}


/**
* A widget to display a list
*
* @param {id=} unique id for this widget (optional)
* @param {item(list)} an ite