+ {#if $app.subgrids?.[`${id}-0`]}
+ {#if Array.isArray(result) && result.length > 0}
+ {#key result}
+
{
+ $focusedGrid = {
+ parentComponentId: id,
+ subGridIndex: event.detail
+ }
+ }}
+ >
+
+
+
+
+
+
+
+
+
+
+ {#each result ?? [] as value, index}
+
+ {
+ outputs?.inputs.set(inputs, true)
+ }}
+ bind:inputs
+ {value}
+ {index}
+ >
+ {
+ if (!$connectingInput.opened) {
+ $selectedComponent = [id]
+ }
+ onFocus()
+ }}
+ />
+
+
+ {/each}
+
+ {/key}
+ {:else}
+
+
+
+ {#if !Array.isArray(result)}
+
Input data is not an array
+ {/if}
+ {/if}
+ {/if}
+
+