Reputation: 3279
I'm trying to use quickForm form autoForm to generate a form from my collection
<template name="NewRecipe">
<div class="new-recipe-container">
{{> quickForm collection="Recipes" id="insertRecipeForm" type="insert" class="new-recipe-form"}}
</div>
</template>
Instead of displaying a simple table with labels and input fields and a submit button what it returns is an array of objects, they appear as
[object Object]
[object Object]
[object Object]
[object Object]
Submit
The button renders as a button, but the fields on my schema are not.
Upvotes: 0
Views: 88
Reputation: 475
First uninstall older simpl-schema
meteor npm uninstall --save simpl-schema
then downgrade simpl-schema 1.5.0 to 1.4.0
meteor npm install --save [email protected]
It works for me.
Upvotes: 0
Reputation: 3279
Switch to an older version, current version is 1.5.0. Need to use 1.4.3.
Here's the command:
cd [to your project]
meteor npm install --save [email protected]
Upvotes: 2