Skip to content

Commit 8c1393d

Browse files
committed
[docs] Refactor multiple forms guide
1 parent 3df5145 commit 8c1393d

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.changeset/eight-crews-clap.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"docs": patch
3+
---
4+
5+
Refactor multiple forms guide

apps/docs/src/content/docs/advanced/multiple-forms.mdx

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ import { DEFAULT_ID_PREFIX } from '@sjsf/form'
1111
import Form from './_multiple-forms.astro';
1212
import formCode from './_multiple-forms.svelte?raw';
1313

14-
There are a few rules to follow if you want to use multiple forms
15-
16-
## On the same page
17-
18-
You should provide custom `idPrefix` to avoid id collisions in the DOM
14+
To use multiple forms on the same page, you must specify a custom `idPrefix`
15+
to avoid id collision in the DOM.
1916

2017
The default value of `idPrefix` is <code>{DEFAULT_ID_PREFIX}</code>.
2118

0 commit comments

Comments
 (0)