Skip to content

Commit

Permalink
chroe: fixed not working inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Apr 10, 2024
1 parent ab0d392 commit 694a569
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ui/src/builder/BuilderTemplateInput.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="BuilderTemplateInput">
<template v-if="props.type === 'input'">
<template v-if="type === 'input'">
<input
type="text"
:value="props.value"
Expand Down Expand Up @@ -30,7 +30,7 @@
</datalist>
</template>

<template v-if="props.type === 'textarea'">
<template v-if="type === 'textarea'">
<textarea
v-capture-tabs
variant="code"
Expand Down Expand Up @@ -76,6 +76,7 @@ const props = defineProps<{
options?: Record<string, string>;
placeholder?: string;
}>();
const type = props.type ?? 'input'
const ss = inject(injectionKeys.core);
const ssbm = inject(injectionKeys.builderManager);
Expand Down

0 comments on commit 694a569

Please sign in to comment.