-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add guide for repeater fields #37
Comments
In most cases repeated data structures should use InnerBlocks. Showcase some examples of how that works with inner blocks
If that doesn't fit the
|
Is there an example project that uses the Repeater? I looked at a few different projects that I have been shared and I can't find an example of a team using it. The example in |
Edit.js example:
|
+1 here. I'm trying to have repeatable |
@JiveDig I should have deleted that comment I was unable to find the example at the time but it exists here: https://github.com/10up/block-components/tree/develop/example/src/blocks/repeater-component-example I included the code snippet above for an example edit.js file since that should be a good starting ground for another individual to use this component. |
Ah-ha! That's what i need. Thanks! |
It is a common pattern across projects to need repeating fields. There should be a guide for folks on how to do it.
The text was updated successfully, but these errors were encountered: