- {:else if extra.multiselect}
+ {:else if extra.multiselect && itemsType?.enum != undefined}
{:else if Array.isArray(itemsType?.enum)}
{
dispatch('focus')
}}
@@ -496,7 +506,15 @@
{/if}
{:else if inputCat == 'enum'}
{:else if inputCat == 'date'}
@@ -551,27 +569,29 @@
{#if password}
{:else}
-
+ {#if !noExtra}
+
{
+ if (e.detail) {
+ disableCreate = true
+ } else {
+ disableCreate = undefined
+ }
+ }}
+ />
+ {/if}
{:else if kind == 'resource'}
@@ -164,4 +193,26 @@
{/each}
+{:else if kind == 'none'}
+ {#if !noExtra}
+
+ {/if}
+{/if}
+{#if (kind == 'none' || kind == 'pattern' || kind == 'format') && !noExtra}
+
+ {
+ if (e.detail) {
+ disableVariablePicker = true
+ } else {
+ disableVariablePicker = undefined
+ }
+ }}
+ />
{/if}