1
0
Fork 0
mirror of synced 2024-10-05 04:25:21 +13:00

Add default options for options field

This commit is contained in:
Andrew Kingston 2021-08-04 14:33:51 +01:00
parent 0fcc182f3b
commit 5835c1591f

View file

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