color in colormodels -%}
			</span>
		{%- endif -%}
	{%- else -%} /** pic is any other widget */
		{{ pic|raw }}
	{%- endif -%}

{% endmacro %}


/**
* Displays an input field
*
* @param {id=} unique id for this widget (optional)
* @param {item(bool,num,list,str)} an item, sent values are:
	- date, dateflip, datecal, dateslide, datetime, datetimeflip: Date object resp. ISO 8601 - e.g. '2017-11-29T23:00:00.000Z' in UTC time (if no string format specified)
	- time & timeflip: String with 24hr clock - e.g. '18