Skip to content

Commit 4afa2e9

Browse files
committed
agent instructions update
1 parent fe2fe40 commit 4afa2e9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

AGENTS-EXTERNAL.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,18 @@ Use `FormProvider` to set defaults for all FormItems:
271271
</FormProvider>
272272
```
273273

274+
If you want `layout="side"` to stay horizontal in a narrow container, disable
275+
the built-in collapse:
276+
277+
```svelte
278+
<FormProvider layout="side" collapseSide={false} --form-label-width="8em">
279+
<FormItem fullWidth>
280+
{#snippet label()}Status{/snippet}
281+
<Input />
282+
</FormItem>
283+
</FormProvider>
284+
```
285+
274286
### Checkboxes and RadioButtons
275287

276288
**Single Checkbox with `bind:checked`:**

0 commit comments

Comments
 (0)