Skip to content

Commit

Permalink
fix(ui): get the string fields in no code to use editor and have auto…
Browse files Browse the repository at this point in the history
… completion back (#7150)
  • Loading branch information
MilosPaunovic committed Feb 3, 2025
1 parent 6afe5ff commit 88c9399
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ui/src/components/flows/tasks/TaskString.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,24 @@
/>
</template>
<template v-else>
<InputText
<editor
:model-value="editorValue"
:navbar="false"
:full-height="false"
schema-type="flow"
lang="plaintext"
input
@update:model-value="onInput"
class="w-100"
/>
</template>
</template>
<script>
import Task from "./Task";
import InputText from "../../../components/code/components/inputs/InputText.vue";
import Editor from "../../../components/inputs/Editor.vue";
export default {
mixins: [Task],
components: {InputText},
components: {Editor},
emits: ["update:modelValue"],
computed: {
isValid() {
Expand Down

0 comments on commit 88c9399

Please sign in to comment.