title: Meteor aldeed:autoform custom arrayField template not working
body: <p>I've looked for tutorials about AutoForm's custom field templates but I'm not sure where I'm going wrong with mine. If anyone has any suggestions it would be greatly appreciated.</p>
  
  <p>My Schema: One field is an Array of Objects.</p>
  
  <pre><code>guests: {
      type: Array,
      minCount: 1,
      maxCount: 10,
      label: "Guests in Party"
  },
  "guests.$": {
      type: Object,
      label: "Guest Object"
  },
  "guests.$.firstName": {
      type: String,
      label: "First Name"
  },
  "guests.$.lastName": {
      type: String,
      label: "Last Name"
  }
  </code></pre>
  
  <p>Template Code:</p>
  
  <pre><code>&lt;template name='afArrayField_guestsObjectField'&gt;
      {{#afEachArrayItem name="guests" minCount="this.atts.minCount" maxCount="this.atts.maxCount"}}
      &lt;div class="form-group"&gt;
          &lt;label class="control-label col-sm-2"&gt;Guest&lt;/label&gt;
          {{&gt; afObjectField name="this.name" label="false" template='customObjectField'}}
          &lt;div class="col-sm-2"&gt;
              {{#if afArrayFieldHasLessThanMaximum name="guests"}}
              &lt;button type="button" class="btn btn-primary autoform-add-item" data-autoform-field="{{guests}}" data-autoform-minCount="{{this.atts.minCount}}" data-autoform-maxCount="{{this.atts.maxCount}}"&gt;&lt;span class="glyphicon glyphicon-plus"&gt;&lt;/span&gt;&lt;/button&gt;
              {{/if}}
              {{#if afArrayFieldHasMoreThanMinimum name="guests"}}
              &lt;button type="button" class="btn btn-primary autoform-remove-item pull-left"&gt;&lt;span class="glyphicon glyphicon-minus"&gt;&lt;/span&gt;&lt;/button&gt;
          {{/if}}
          &lt;/div&gt;
      &lt;/div&gt;
      {{/afEachArrayItem}}
  &lt;/template&gt;
  
  &lt;template name="afObjectField_customObjectField"&gt;
      &lt;div class="col-sm-4"&gt;
          {{&gt; afFieldInput name="this.firstName" class="form-control" placeholder="First Name"}}
  
          {{#if afFieldIsInvalid name='this.firstName'}}
              &lt;span class="help-block"&gt;{{{afFieldMessage name='this.firstName'}}}&lt;/span&gt;
          {{/if}}
      &lt;/div&gt;
      &lt;div class="col-sm-4"&gt;
          {{&gt; afFieldInput name="this.lastName" class="form-control" placeholder="Last Name"}}
  
          {{#if afFieldIsInvalid name='this.lastName'}}
              &lt;span class="help-block"&gt;{{{afFieldMessage name='this.lastName'}}}&lt;/span&gt;
          {{/if}}
      &lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>The problem I am having is that the plus buttons shows up after the firstName and lastName field how I want it to, but when I press it another guest object (in the form) does not generate. Any thoughts?</p>