Description
Selecting json as a field type in the schema editor works, but the field has no input renderer in the post editor — falls through to default text Input which renders empty for object values. Missing case in field renderer switch (@emdash-cms/admin@0.1.0)
Steps to reproduce
- Fresh install of
@emdash-cms/template-blog-cloudflare (or any EmDash project on emdash@0.1.0)
- Run
pnpm dev and complete the setup wizard
- Go to Admin → Collections → Posts (or any collection) → Add field
- In the field type picker, select JSON (icon: brackets-curly, label: "JSON", description: "Arbitrary JSON data")
- Fill in slug/label, save the field
- Go to Posts → New post (or edit any existing post)
- Scroll to the new JSON field
Environment
emdash: 0.1.0
@emdash-cms/admin: 0.1.0
@emdash-cms/cloudflare: 0.1.0
astro: 6.1.4
@astrojs/cloudflare: 13.1.7
wrangler: 4.81.0
- Node: v22.22.2
- OS: Windows 11
- Browser: Chrome
- Template:
@emdash-cms/template-blog-cloudflare@0.0.1
Logs / error output
Description
Selecting json as a field type in the schema editor works, but the field has no input renderer in the post editor — falls through to default text Input which renders empty for object values. Missing case in field renderer switch (@emdash-cms/admin@0.1.0)
Steps to reproduce
@emdash-cms/template-blog-cloudflare(or any EmDash project onemdash@0.1.0)pnpm devand complete the setup wizardEnvironment
emdash: 0.1.0@emdash-cms/admin: 0.1.0@emdash-cms/cloudflare: 0.1.0astro: 6.1.4@astrojs/cloudflare: 13.1.7wrangler: 4.81.0@emdash-cms/template-blog-cloudflare@0.0.1Logs / error output