fix: added id to input select elem

This commit is contained in:
Arman
2022-04-29 11:40:53 +02:00
parent 1ff8777482
commit f58b40b2bc
+1 -1
View File
@@ -15,7 +15,7 @@
<FormItem>
<label class="label" for={id}>{label}</label>
<div class="select">
<select bind:value {required} {disabled}>
<select bind:value {id} {required} {disabled}>
{#each options as option}
<option value={option.value} selected={option.value === value}>
{option.label}