I would like to do something very similar to this question: Meteor: Custom AutoForm with array of objects
Which is to say, I want to manually layout each field within every element of the array.
The difference is, I still want to use the afArrayField
with its default template, including the buttons to add and remove array items. I just want to pass my own layout to afArrayField
. How do I do that?
If I did not make myself clear, please request clarification and I'll rephrase.
What you need is probably to create a custom template (doc : https://github.com/aldeed/meteor-autoform#creating-a-custom-template).
You can do something like that (not tested) :
You can also take a look to default afArrayField template to inspire yourself :