Two related repeater-field issues that bit me during a client demo prep. Filing together because they're both about the same surface area.
Bug 1: Repeater items don't expand when the chevron is clicked
In a collection with a repeater field that has existing items, clicking the chevron (∨) next to "Item 1", "Item 2", etc. does nothing. The item stays collapsed. No console error. No sub-fields appear. I've tried this on every repeater on the same content type (a custom home content type with services, why_items, featured_stats, process_steps repeaters, each with 3-5 seeded items). None of them expand.
Reproduced consistently across full reload + hard refresh.
Repro (against a fresh npm create emdash@latest blog-cloudflare scaffold):
- Add a custom content type with a
repeater field to seed/seed.json:
{
"slug": "services",
"label": "Services",
"type": "repeater",
"fields": [
{ "slug": "title", "type": "string", "required": true },
{ "slug": "description", "type": "text" }
]
}
- Seed it with two or three items via the seed file.
- Deploy + open the entry in the admin.
- Try to click the chevron to expand any item. Nothing happens.
Bug 2: Repeater row label is always "Item 1", "Item 2", etc. — no apparent way to point at a sub-field
Even if Bug 1 is resolved and the items do expand, the collapsed row label shows the generic "Item 1 / 2 / 3" regardless of the sub-field values. For an editor trying to find the right service to edit in a list of 5+ items, that's a real friction point.
Most other CMSes with repeater-style fields (Payload, Sanity, Contentful, ACF) let the schema declare which sub-field acts as the row label. Couldn't find a documented option in Emdash for this — the docs at https://docs.emdashcms.com/reference/field-types/ don't have a section for the repeater field beyond listing it in the type table.
If there's an undocumented option (e.g. displayField, rowLabel, titleField), pointing at the right place in the seed schema reference would solve this. If there isn't yet, please consider adding one — the editing UX gap is real for any repeater with more than two items.
Environment
emdash@0.14.0 / create-emdash@0.14.0
blog-cloudflare template
- Deployed to Cloudflare Workers (Workers Standard plan)
- Tested in Chrome 130 on Windows 11
Impact
Bug 1 is blocking — repeater fields are functionally uneditable through the admin UI right now. The data is correct (emdash seed populated everything) but editors can't change any of the sub-fields after seeding.
Bug 2 is editing-UX polish — workable without a fix, painful with more than ~3 items.
Happy to record a screen capture or share more repro detail if useful.
Two related repeater-field issues that bit me during a client demo prep. Filing together because they're both about the same surface area.
Bug 1: Repeater items don't expand when the chevron is clicked
In a collection with a
repeaterfield that has existing items, clicking the chevron (∨) next to "Item 1", "Item 2", etc. does nothing. The item stays collapsed. No console error. No sub-fields appear. I've tried this on every repeater on the same content type (a customhomecontent type withservices,why_items,featured_stats,process_stepsrepeaters, each with 3-5 seeded items). None of them expand.Reproduced consistently across full reload + hard refresh.
Repro (against a fresh
npm create emdash@latestblog-cloudflare scaffold):repeaterfield toseed/seed.json:{ "slug": "services", "label": "Services", "type": "repeater", "fields": [ { "slug": "title", "type": "string", "required": true }, { "slug": "description", "type": "text" } ] }Bug 2: Repeater row label is always "Item 1", "Item 2", etc. — no apparent way to point at a sub-field
Even if Bug 1 is resolved and the items do expand, the collapsed row label shows the generic "Item 1 / 2 / 3" regardless of the sub-field values. For an editor trying to find the right service to edit in a list of 5+ items, that's a real friction point.
Most other CMSes with repeater-style fields (Payload, Sanity, Contentful, ACF) let the schema declare which sub-field acts as the row label. Couldn't find a documented option in Emdash for this — the docs at https://docs.emdashcms.com/reference/field-types/ don't have a section for the
repeaterfield beyond listing it in the type table.If there's an undocumented option (e.g.
displayField,rowLabel,titleField), pointing at the right place in the seed schema reference would solve this. If there isn't yet, please consider adding one — the editing UX gap is real for any repeater with more than two items.Environment
emdash@0.14.0/create-emdash@0.14.0blog-cloudflaretemplateImpact
Bug 1 is blocking — repeater fields are functionally uneditable through the admin UI right now. The data is correct (
emdash seedpopulated everything) but editors can't change any of the sub-fields after seeding.Bug 2 is editing-UX polish — workable without a fix, painful with more than ~3 items.
Happy to record a screen capture or share more repro detail if useful.