|
|
@ -13,6 +13,7 @@ |
|
|
import { onMount } from "svelte" |
|
|
import { onMount } from "svelte" |
|
|
|
|
|
|
|
|
export let label = "" |
|
|
export let label = "" |
|
|
|
|
|
export let bindable = true |
|
|
export let componentInstance = {} |
|
|
export let componentInstance = {} |
|
|
export let control = null |
|
|
export let control = null |
|
|
export let key = "" |
|
|
export let key = "" |
|
|
@ -93,7 +94,7 @@ |
|
|
{...props} |
|
|
{...props} |
|
|
name={key} /> |
|
|
name={key} /> |
|
|
</div> |
|
|
</div> |
|
|
{#if control === Input && !key.startsWith('_')} |
|
|
{#if bindable && control === Input && !key.startsWith('_')} |
|
|
<button data-cy={`${key}-binding-button`} on:click={dropdown.show}> |
|
|
<button data-cy={`${key}-binding-button`} on:click={dropdown.show}> |
|
|
<Icon name="edit" /> |
|
|
<Icon name="edit" /> |
|
|
</button> |
|
|
</button> |
|
|
|