Replies: 2 comments 1 reply
-
|
Bumping this one too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks @lightyearsagency! Glad this lines up with what you need. The PR (#111) is approved and waiting for maintainer merge, so hopefully this lands soon. If you get a chance to test via the pkg-pr-new preview, feedback on the UX would be really helpful. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Collections often need fields that repeat -- a gallery with multiple images, an FAQ with question/answer pairs, a team page with member cards. Currently, the only option is to create a separate collection and use references, which adds unnecessary complexity for simple repeating structures.
Use cases
Proposed behavior
repeaterWhy not references?
References work for true one-to-many relationships (posts -> comments). But for tightly-coupled data that only exists within its parent (FAQ items on a page), repeaters are simpler to author, query, and render. You don't need a separate "FAQ Items" collection just to have Q&A pairs on a single page.
Existing work
I have a working implementation in #111 that was opened before this Discussion. Happy to adjust the approach based on feedback here.
Beta Was this translation helpful? Give feedback.
All reactions