{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/validatejs/issues/106","repository_url":"https://api.github.com/repos/aurelia/validatejs","labels_url":"https://api.github.com/repos/aurelia/validatejs/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/validatejs/issues/106/comments","events_url":"https://api.github.com/repos/aurelia/validatejs/issues/106/events","html_url":"https://github.com/aurelia/validatejs/issues/106","id":164732432,"number":106,"title":"Create a ValidationRenderer documentation is unclear / doesn't work","user":{"login":"CarlosOnline","id":3691895,"avatar_url":"https://avatars.githubusercontent.com/u/3691895?v=3","gravatar_id":"","url":"https://api.github.com/users/CarlosOnline","html_url":"https://github.com/CarlosOnline","followers_url":"https://api.github.com/users/CarlosOnline/followers","following_url":"https://api.github.com/users/CarlosOnline/following{/other_user}","gists_url":"https://api.github.com/users/CarlosOnline/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosOnline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosOnline/subscriptions","organizations_url":"https://api.github.com/users/CarlosOnline/orgs","repos_url":"https://api.github.com/users/CarlosOnline/repos","events_url":"https://api.github.com/users/CarlosOnline/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosOnline/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/validatejs/labels/documentation","name":"documentation","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-10T20:23:30Z","updated_at":"2016-07-10T20:33:25Z","closed_at":null,"body":"Documentation for aurelia validation's Create a ValidationRenderer step is unclear / missing stuff.\r\nFrom: [http://blog.durandal.io/2016/06/14/new-validation-alpha-is-here/](http://blog.durandal.io/2016/06/14/new-validation-alpha-is-here/)\r\n\r\n9) Create a ValidationRenderer\r\n\r\nFirst: Does aurelia-validation include a default renderer?  If so, how do I use it?  If not can you add one?\r\n\r\nSecond: Adding `validation-renderer=\"bootstrap-form\"` attribute returns error.\r\n`aurelia-task-queue.js:47 Uncaught TypeError: renderers[i].render is not a function`\r\n\r\nI downloaded ValidationRenderer from [https://gist.github.com/jdanyow/ea843c24956cfffff48bb21776291f6a](https://gist.github.com/jdanyow/ea843c24956cfffff48bb21776291f6a) and added it to my typescript asp.net project - modified for compilation. \r\n\r\nThird: To get it to work, had to call addRenderer with the instantiated BootstrapFormValidationRenderer.\r\n        `this.validationController.addRenderer(<ValidationRenderer><any>(validationRenderer));`\r\n\r\n\r\nForth: Can the documentation be added to the aurelia hub?  There are multiple sources of documentation on the net, and some them are no longer correct.\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/validatejs/issues/comments/231609366","html_url":"https://github.com/aurelia/validatejs/issues/106#issuecomment-231609366","issue_url":"https://api.github.com/repos/aurelia/validatejs/issues/106","id":231609366,"user":{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars.githubusercontent.com/u/131485?v=3","gravatar_id":"","url":"https://api.github.com/users/EisenbergEffect","html_url":"https://github.com/EisenbergEffect","followers_url":"https://api.github.com/users/EisenbergEffect/followers","following_url":"https://api.github.com/users/EisenbergEffect/following{/other_user}","gists_url":"https://api.github.com/users/EisenbergEffect/gists{/gist_id}","starred_url":"https://api.github.com/users/EisenbergEffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EisenbergEffect/subscriptions","organizations_url":"https://api.github.com/users/EisenbergEffect/orgs","repos_url":"https://api.github.com/users/EisenbergEffect/repos","events_url":"https://api.github.com/users/EisenbergEffect/events{/privacy}","received_events_url":"https://api.github.com/users/EisenbergEffect/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T20:33:25Z","updated_at":"2016-07-10T20:33:25Z","body":"The validation library is very alpha and still undergoing significant changes. Thanks for the feedback. We'll definitely add and clarify docs in the future, especially as various aspects of the design stabilize."}}
{"actor":{"display_login":"EisenbergEffect"}}