diff --git a/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte b/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte index 8e58587459..7f857e04cf 100644 --- a/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte +++ b/frontend/src/lib/components/apps/components/inputs/AppTextInput.svelte @@ -65,48 +65,48 @@ bind:value {placeholder} /> + {:else} + + {#if inputType === 'password'} + + !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} + type="password" + bind:value + {placeholder} + /> + {:else if inputType === 'text'} + + !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} + type="text" + bind:value + {placeholder} + /> + {:else if inputType === 'email'} + + !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} + type="email" + bind:value + {placeholder} + /> + {/if} + {/if} -{:else} - - {#if inputType === 'password'} - - !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} - type="password" - bind:value - {placeholder} - /> - {:else if inputType === 'text'} - - !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} - type="text" - bind:value - {placeholder} - /> - {:else if inputType === 'email'} - - !$connectingInput.opened && selectId(e, id, selectedComponent, $app)} - type="email" - bind:value - {placeholder} - /> - {/if} - {/if}