Add default value for longform field
This commit is contained in:
parent
f1f08dd85d
commit
12d5ccb3a7
|
@ -6,6 +6,7 @@
|
|||
export let label
|
||||
export let placeholder
|
||||
export let disabled = false
|
||||
export let defaultValue = ""
|
||||
|
||||
let fieldState
|
||||
let fieldApi
|
||||
|
@ -15,10 +16,10 @@
|
|||
{label}
|
||||
{field}
|
||||
{disabled}
|
||||
{defaultValue}
|
||||
type="longform"
|
||||
bind:fieldState
|
||||
bind:fieldApi
|
||||
defaultValue=""
|
||||
>
|
||||
{#if fieldState}
|
||||
<CoreTextArea
|
||||
|
|
Loading…
Reference in New Issue