{% import '_includes/forms' as form %}

{% if settings.max is not null and settings.max <= 1 %}
	{{
		form.select({
			id: name,
			name: name,
			options: videos,
			value: value
		})
	}}
{% else %}
	{{
		form.multiselect({
			id: name,
			name: name,
			options: videos,
			values: value
		})
	}}
{% endif %}
{% import '_includes/forms' as form %}

{% if settings.max and settings.max <= 1 %}
	{{
		form.select({
			id: name,
			name: name,
			options: videos,
			value: value
		})
	}}
{% else %}
	{{
		form.multiselect({
			id: name,
			name: name,
			options: videos,
			values: value
		})
	}}
{% endif %}
Update settings template for fieldtype
Update settings template for fieldtype
