Skip to content

Commit 4f9fd9f

Browse files
committed
refactor(ui): add key for for-each in field-select
1 parent ae0121b commit 4f9fd9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/lib/components/field-select.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- -------------------------------------------------------------------------->
1010
<div class="form-floating my-1">
1111
<select class="form-select" id={name} bind:value>
12-
{#each options as { optName, optValue }}
12+
{#each options as { optName, optValue } (optName)}
1313
<option value={optValue}>{optName}</option>
1414
{/each}
1515
</select>

0 commit comments

Comments
 (0)