I’m having problems with Autoform and the cosio55:autoform-cloudinary package. The console gives me this error: Uncaught Error: Illegal HTML attribute name: 0
My settings.json:
{
"public": {
"CLOUDINARY_API_KEY": "89XXXXXXXXXXX",
"CLOUDINARY_CLOUD_NAME": "nameofmycloud"
},
"CLOUDINARY_API_SECRET": "MhXXXXXXXXXXXXXXXXXXX"
}
And the Autoform simpleschema field:
image: {
type: String,
autoform: {
afFieldInput: 'cloudinary'
}
}
Template:
{{> quickForm collection="Catches" id="insertCatchForm" type="insert" buttonContent="Create"}}
I have checked my list, and all depedencies should be running. I also use Iron Router with scaffolding, and run my app with the following command: iron run
In the readme for Cloudinary it says run with meteor --settings settings.json
, but this doesn’t work with Iron Router.
Does anyone have and idea what could be wrong?