{"action":"created","issue":{"url":"https://api.github.com/repos/djhi/meteor-autoform-materialize/issues/7","labels_url":"https://api.github.com/repos/djhi/meteor-autoform-materialize/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/djhi/meteor-autoform-materialize/issues/7/comments","events_url":"https://api.github.com/repos/djhi/meteor-autoform-materialize/issues/7/events","html_url":"https://github.com/djhi/meteor-autoform-materialize/issues/7","id":64508126,"number":7,"title":"Error when using pickadate","user":{"login":"coniel","id":1728027,"avatar_url":"https://avatars.githubusercontent.com/u/1728027?v=3","gravatar_id":"","url":"https://api.github.com/users/coniel","html_url":"https://github.com/coniel","followers_url":"https://api.github.com/users/coniel/followers","following_url":"https://api.github.com/users/coniel/following{/other_user}","gists_url":"https://api.github.com/users/coniel/gists{/gist_id}","starred_url":"https://api.github.com/users/coniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coniel/subscriptions","organizations_url":"https://api.github.com/users/coniel/orgs","repos_url":"https://api.github.com/users/coniel/repos","events_url":"https://api.github.com/users/coniel/events{/privacy}","received_events_url":"https://api.github.com/users/coniel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-26T11:53:15Z","updated_at":"2015-03-26T14:22:00Z","closed_at":"2015-03-26T12:38:13Z","body":"I'm getting the following error:\r\n\r\n```javascript\r\nException in template helper: ReferenceError: atts is not defined\r\n    at Object.AutoForm.addInputType.valueIn (http://localhost:3000/packages/gildaspk_autoform-materialize.js?42f987a371dc61ee9d1422c7be8927d3e00d78d1:1119:18)\r\n    at getInputValue (http://localhost:3000/packages/aldeed_autoform.js?b2b90d28d5cc29be68358bb3c8bb8a337992a7dd:1881:22)\r\n    at Object.afFieldInputContext (http://localhost:3000/packages/aldeed_autoform.js?b2b90d28d5cc29be68358bb3c8bb8a337992a7dd:6028:17)\r\n    at bindDataContext (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:2786:16)\r\n    at Blaze._wrapCatchingExceptions (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:1607:16)\r\n    at http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:2834:66\r\n    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:3382:12)\r\n    at wrapHelper (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:2833:27)\r\n    at Spacebars.call (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:172:18)\r\n    at Spacebars.mustacheImpl (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:109:25)\r\n```\r\n\r\nWhen using:\r\n\r\n```\r\n{{> afFieldInput name='endDate' type=\"pickadate\"}}\r\n```"},"comment":{"url":"https://api.github.com/repos/djhi/meteor-autoform-materialize/issues/comments/86537578","html_url":"https://github.com/djhi/meteor-autoform-materialize/issues/7#issuecomment-86537578","issue_url":"https://api.github.com/repos/djhi/meteor-autoform-materialize/issues/7","id":86537578,"user":{"login":"coniel","id":1728027,"avatar_url":"https://avatars.githubusercontent.com/u/1728027?v=3","gravatar_id":"","url":"https://api.github.com/users/coniel","html_url":"https://github.com/coniel","followers_url":"https://api.github.com/users/coniel/followers","following_url":"https://api.github.com/users/coniel/following{/other_user}","gists_url":"https://api.github.com/users/coniel/gists{/gist_id}","starred_url":"https://api.github.com/users/coniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coniel/subscriptions","organizations_url":"https://api.github.com/users/coniel/orgs","repos_url":"https://api.github.com/users/coniel/repos","events_url":"https://api.github.com/users/coniel/events{/privacy}","received_events_url":"https://api.github.com/users/coniel/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T14:22:00Z","updated_at":"2015-03-26T14:22:00Z","body":"Thanks, although I'm getting this now:\r\n\r\n```javascript\r\nException from Tracker afterFlush function: Cannot read property 'format' of undefined\r\nTypeError: Cannot read property 'format' of undefined\r\n    at http://localhost:3000/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:931:18\r\n    at Array.forEach (native)\r\n    at _.each._.forEach (http://localhost:3000/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:156:11)\r\n    at Function._.defaults (http://localhost:3000/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:928:5)\r\n    at Template.afPickadate.rendered (http://localhost:3000/packages/gildaspk_autoform-materialize.js?eb6c2a187bfe9462c8a0da6f1c89326181f62464:1232:12)\r\n    at runTemplateHooks (http://localhost:3000/packages/aldeed_template-extension.js?2e25a48119980b3ff2fba34bcf67b18deac45199:415:10)\r\n    at templateExtensionMasterHook (http://localhost:3000/packages/aldeed_template-extension.js?2e25a48119980b3ff2fba34bcf67b18deac45199:364:5)\r\n    at http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:3061:22\r\n    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:3382:12)\r\n    at fireCallbacks (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:3057:12)\r\n```"}}