Skip to content

Commit 6cce4fb

Browse files
authored
Remove #key block for Input on Start Workflow (#2639)
* Remove key * Remove scrollTo
1 parent 717d80a commit 6cce4fb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/lib/pages/start-workflow.svelte

+1-5
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
let details = '';
5151
let encoding: Writable<PayloadInputEncoding> = writable('json/plain');
5252
let messageType = '';
53-
let inputRetrieved = 0;
5453
5554
let initialWorkflowId = '';
5655
let initialWorkflowType = '';
@@ -136,7 +135,6 @@
136135
input = initialValues.input;
137136
encoding.set(initialValues.encoding);
138137
messageType = initialValues.messageType;
139-
inputRetrieved = Date.now();
140138
summary = initialValues.summary;
141139
details = initialValues.details;
142140
@@ -265,9 +263,7 @@
265263
label="Workflow Type"
266264
on:blur={(e) => onInputChange(e, 'workflowType')}
267265
/>
268-
{#key inputRetrieved}
269-
<PayloadInputWithEncoding bind:input bind:encoding bind:messageType />
270-
{/key}
266+
<PayloadInputWithEncoding bind:input bind:encoding bind:messageType />
271267
{#if viewAdvancedOptions}
272268
<Card class="flex flex-col gap-2">
273269
<div class="flex flex-wrap justify-between">

0 commit comments

Comments
 (0)