I'm seeing the following error in my console while adding rows to the
AjaxFormLoop. I discovered the issue in alpha-22 and upgraded to alpha-28
to find it still existed.
TypeError: newElement.trigger is not a function
return newElement.trigger(events.zone.didUpdate);
ajaxformloop.js (line 44)
Sample html
<t:form t:id="form">
<div t:type="ajaxformloop" t:id="phones" source="person.phones"
value="phone" encoder="encoder">
<t:select t:id="type" model="selectModel"
value="phone.phoneType"/>
<t:textfield t:id="number" value="phone.number"/>
<t:removerowlink>remove</t:removerowlink>
</div>
<input type="submit" value="Update"/>
</t:form>
AjaxFormLoop. I discovered the issue in alpha-22 and upgraded to alpha-28
to find it still existed.
TypeError: newElement.trigger is not a function
return newElement.trigger(events.zone.didUpdate);
ajaxformloop.js (line 44)
Sample html
<t:form t:id="form">
<div t:type="ajaxformloop" t:id="phones" source="person.phones"
value="phone" encoder="encoder">
<t:select t:id="type" model="selectModel"
value="phone.phoneType"/>
<t:textfield t:id="number" value="phone.number"/>
<t:removerowlink>remove</t:removerowlink>
</div>
<input type="submit" value="Update"/>
</t:form>