Skip to content

Commit ce5d8a2

Browse files
committed
[docs] Fix uiSchema structure and link for shadcn theme UI options
1 parent a80518d commit ce5d8a2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/docs2/src/content/docs/form/ui-schema.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ declare module "@sjsf/form" {
271271
const form = createForm({
272272
...,
273273
uiSchema: {
274-
itemTitle: "registry:myItemTitle"
274+
"ui:options": {
275+
itemTitle: "registry:myItemTitle"
276+
}
275277
},
276278
uiOptionsRegistry: {
277279
myItemTitle: (title, index) => `${title} [${index}]`
@@ -297,7 +299,7 @@ Check your theme page for an extended list of UI options:
297299
<LinkCard title="daisyUI" href="../../themes/daisyui5/#ui-options" />
298300
<LinkCard title="Flowbite" href="../../themes/flowbite3/#ui-options" />
299301
<LinkCard title="Skeleton" href="../../themes/skeleton3/#ui-options" />
300-
<LinkCard title="shadcn-svelte" href="../../themes/shadcn/#ui-options" />
302+
<LinkCard title="shadcn-svelte" href="../../themes/shadcn4/#ui-options" />
301303

302304

303305

0 commit comments

Comments
 (0)