{/if}
{/each}
{#if value.length > itemsLimit}
{/if}
{:else if typeof value === 'string'}
{#if value.startsWith('$res:')}
{@render resourceInput()}
{:else}
Invalid string value: "{value}", expected array. Click add item to turn it
into an array.
{/if}
{/if}
{/key}
{/if}
{
// Once the user has changed the input type, we should not change it back automatically
if (!hasIsListJsonChanged) {
hasIsListJsonChanged = true
}
evalValueToRaw()
isListJson = !isListJson
}}
checked={isListJson}
textClass="text-secondary"
size="xs"
options={{ right: 'json' }}
/>