<!-- $o=Attribute::class -->
@foreach($o->langtags as $langtag)
	@foreach(($o->tagValues($langtag)->count() ? $o->tagValues($langtag) : [$langtag => NULL]) as $key => $value)
		<x-form.select
			@class([
				'is-invalid'=>($e=$errors->get($o->name_lc.'.'.$langtag.'.'.$loop->index)),
				'mb-1',
				'no-edit'=>(! $editable ?? FALSE),
				'border-focus'=>! $o->tagValuesOld($langtag)->contains($value)])
			id="{{ $o->name_lc }}_{{$loop->index}}{{$template?->name ?: ''}}"
			name="{{ $o->name_lc }}[{{ $langtag }}][]"
			:value="$value ?: $template->attributeValue($o->name_lc)"
			:options="$template->attributeOptions($o->name_lc,$value)"
			allowclear="true"
			:feedback="Arr::get($e,0)"
			:edit="$edit"/>
	@endforeach
@endforeach