Skip to content

Commit af3c728

Browse files
authored
docs(changelog): add new type arrays
1 parent 72d56bd commit af3c728

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/content/changelog/frontmatter-form.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ You can now edit your markdown front-matter without writing in the `YAML` syntax
2727

2828
Front-matter is a convention used in Markdown-based CMSs to provide metadata for pages, such as descriptions, titles, and more. In [Nuxt Content](/docs/files/markdown#front-matter), the front-matter uses the YAML syntax.
2929

30-
::callout
31-
---
32-
icon: i-ph-info
33-
to: /docs/files/markdown#front-matter
34-
---
30+
::callout{icon="i-ph-info" to="/docs/files/markdown#front-matter"}
3531
For more detailed information about front-matter syntax, visit the Nuxt Content documentation.
3632
::
3733

docs/content/changelog/studio-customisation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default defineContentConfig({
6464
```
6565

6666
:::preview-card{icon="i-lucide-eye" label="Generated Form"}
67-
![Form preview](/blog/generated-form.png)
67+
![Form preview](/docs/studio/preview-schema.png)
6868
:::
6969
::
7070

@@ -77,6 +77,8 @@ Primitive Zod types are automatically mapped to appropriate form inputs in **Stu
7777
- **Number** → Number input (counter)
7878
- **Boolean** → Toggle switch
7979
- **Enum** → Select dropdown
80+
- **Arrays of strings** → List of badge inputs
81+
- **Arrays of objects** → Accordion of items with embedded form
8082

8183
### Custom Inputs Mapping
8284

0 commit comments

Comments
 (0)