You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would mean that you could have repeating custom components and edit them in place. The base component wouldn't need to have any knowledge of Wordpress.
This is MAJOR missing piece from Gutenberg and it should probably be in core, IMO.
Am I right in thinking this isn't possible with the current patterns you're using? None of the child iteration / cloning you're doing will work, unfortunately, unless the parent CustomBlock was modified.
The text was updated successfully, but these errors were encountered:
braco
changed the title
Child-based Repeating Inputs
Child/attribute based repeating inputs
Oct 13, 2018
Hey, I get what you’re saying a little bit, but I’m also confused. You want to repeat your own components, and then map over an array and return those components for the save method?
That should all work fine, thinking off the top of my head here. Just need a Repeat component that works the way you want. I’m not sure exactly what you want the repeat to do in this case. Feel free to reply with more info and I’ll try to help
This would be a big deal if possible:
edit.js
save.js
It would mean that you could have repeating custom components and edit them in place. The base component wouldn't need to have any knowledge of Wordpress.
This is MAJOR missing piece from Gutenberg and it should probably be in core, IMO.
Am I right in thinking this isn't possible with the current patterns you're using? None of the child iteration / cloning you're doing will work, unfortunately, unless the parent CustomBlock was modified.
The text was updated successfully, but these errors were encountered: