File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ export default defineContentConfig({
193
193
```
194
194
195
195
::: preview-card { icon =" i-lucide-eye " label =" Generated Form " }
196
- ![ Form preview] ( /blog/generated-form .png )
196
+ ![ Form preview] ( /docs/studio/preview-schema .png )
197
197
:::
198
198
::
199
199
@@ -206,6 +206,8 @@ Primitive Zod types are automatically mapped to appropriate form inputs in:
206
206
- ** Number** → Number input (counter)
207
207
- ** Boolean** → Toggle switch
208
208
- ** Enum** → Select dropdown
209
+ - ** Arrays of strings** → List of badge inputs
210
+ - ** Arrays of objects** → Accordion of items with embedded form
209
211
210
212
### Custom Inputs Mapping
211
213
@@ -233,10 +235,6 @@ This option can be set to avoid the display of a field in the Studio editor.
233
235
Studio inputs are fully extensible. We can create as many input as we want based on our users needs.
234
236
::
235
237
236
- :: warning
237
- Arrays are not yet handled but should be generated soon thanks to collections and user-defined schemas.
238
- ::
239
-
240
238
## Code editor
241
239
242
240
![ Edit directly your raw content with our code editor] ( /docs/studio/code-editor.webp )
You can’t perform that action at this time.
0 commit comments