We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887aae7 commit 7e161f8Copy full SHA for 7e161f8
svelte/src/EnumInput.svelte
@@ -9,7 +9,7 @@
9
<label for={name}>{name}</label>
10
<select bind:value={value} type="text" name={name} id={name}>
11
{#each options as option, i}
12
- <option value={option}>{optionsDisplay[i] || option}</option>
+ <option value={option}>{(optionsDisplay || [])[i] || option}</option>
13
{/each}
14
</select>
15
</div>
0 commit comments