I am using two modals update autoform on same page..
ex.
{{#afModal class="btn btn-primary" collection="Posts" formId="postsUpateForm" operation="update" doc=_id}}
Update post
{{/afModal}}
When i clicked on "Update post" ->close and then i click on "Update books" this error shows up
Exception in template helper: Error: Invalid field name: XXX
-- XXX is first field name from Posts collection schema. I think is it some problem with duplicate ids?
I am using two modals update autoform on same page.. ex. {{#afModal class="btn btn-primary" collection="Posts" formId="postsUpateForm" operation="update" doc=_id}} Update post {{/afModal}}
{{#afModal class="btn btn-primary" collection="Books" formId="booksUpateForm" operation="update" doc=_id}} Update books {{/afModal}}
When i clicked on "Update post" ->close and then i click on "Update books" this error shows up Exception in template helper: Error: Invalid field name: XXX -- XXX is first field name from Posts collection schema. I think is it some problem with duplicate ids?