I have a SimpleSchema which includes an array of objects:
Things.attachSchema( new SimpleSchema({
name: {
type: String,
label: \"Name\",
You can add buttons to add/remove the array items as so:
{{#autoForm collection="things" id="myForm" }}
{{> afQuickField name='schemaName'}}
{{#afEachArrayItem name="fields"}}
{{> afFieldInput name=this.current.name}}
{{> afFieldInput name=this.current.amount}}
{{/afEachArrayItem}}
{{/autoForm}}
This will use the built-in buttons and icons for AutoForm, so feel free to modify the HTML as necessary.