Add default options for options field

This commit is contained in:
Andrew Kingston 2021-08-04 14:33:51 +01:00
parent bbf9f42555
commit 246d89b680
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
export let placeholder
export let disabled = false
export let optionsType = "select"
export let defaultValue
let fieldState
let fieldApi
@ -17,6 +18,7 @@
{field}
{label}
{disabled}
{defaultValue}
type="options"
bind:fieldState
bind:fieldApi