Skip to content

Commit 67785e6

Browse files
committed
add description field to loop create form
1 parent 34da392 commit 67785e6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

packages/ui/src/features/loops/components/LoopForm.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,15 @@ export function LoopForm({ loop }: LoopFormProps) {
173173
onChange={(e) => patch({ name: e.target.value })}
174174
/>
175175
</Field>
176+
<Field label="Description">
177+
<TextField.Root
178+
size="2"
179+
value={values.description}
180+
placeholder="A short summary shown on the Loops list"
181+
disabled={isSubmitting}
182+
onChange={(e) => patch({ description: e.target.value })}
183+
/>
184+
</Field>
176185
<Field label="Instructions" required>
177186
<TextArea
178187
value={values.instructions}

0 commit comments

Comments
 (0)