{"action":"created","issue":{"url":"https://api.github.com/repos/perak/kitchen-site/issues/307","repository_url":"https://api.github.com/repos/perak/kitchen-site","labels_url":"https://api.github.com/repos/perak/kitchen-site/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/perak/kitchen-site/issues/307/comments","events_url":"https://api.github.com/repos/perak/kitchen-site/issues/307/events","html_url":"https://github.com/perak/kitchen-site/issues/307","id":158098451,"number":307,"title":"custom_input template","user":{"login":"l1br3","id":3482025,"avatar_url":"https://avatars2.githubusercontent.com/u/3482025?v=4","gravatar_id":"","url":"https://api.github.com/users/l1br3","html_url":"https://github.com/l1br3","followers_url":"https://api.github.com/users/l1br3/followers","following_url":"https://api.github.com/users/l1br3/following{/other_user}","gists_url":"https://api.github.com/users/l1br3/gists{/gist_id}","starred_url":"https://api.github.com/users/l1br3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l1br3/subscriptions","organizations_url":"https://api.github.com/users/l1br3/orgs","repos_url":"https://api.github.com/users/l1br3/repos","events_url":"https://api.github.com/users/l1br3/events{/privacy}","received_events_url":"https://api.github.com/users/l1br3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-06-02T09:37:31Z","updated_at":"2017-11-29T08:38:39Z","closed_at":null,"author_association":"NONE","body":"Hi,\n\nI don't really understand how to use custom input.\n\nI already used a custom plugin so I tried to do the same -> put my .html file in a folder and set the relative path from the JSON to the custom_input field but with no success.\n\nI searched in the exemples to find the correct usage but it is referenced nowhere.\n\nCould you provide an exemple please ?\n"},"comment":{"url":"https://api.github.com/repos/perak/kitchen-site/issues/comments/347789738","html_url":"https://github.com/perak/kitchen-site/issues/307#issuecomment-347789738","issue_url":"https://api.github.com/repos/perak/kitchen-site/issues/307","id":347789738,"user":{"login":"perak","id":5630814,"avatar_url":"https://avatars1.githubusercontent.com/u/5630814?v=4","gravatar_id":"","url":"https://api.github.com/users/perak","html_url":"https://github.com/perak","followers_url":"https://api.github.com/users/perak/followers","following_url":"https://api.github.com/users/perak/following{/other_user}","gists_url":"https://api.github.com/users/perak/gists{/gist_id}","starred_url":"https://api.github.com/users/perak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perak/subscriptions","organizations_url":"https://api.github.com/users/perak/orgs","repos_url":"https://api.github.com/users/perak/repos","events_url":"https://api.github.com/users/perak/events{/privacy}","received_events_url":"https://api.github.com/users/perak/received_events","type":"User","site_admin":false},"created_at":"2017-11-29T08:38:39Z","updated_at":"2017-11-29T08:38:39Z","author_association":"OWNER","body":"@tripflex we solved this at Gitter chat, but repeating here for others:\r\n\r\n*Since version `0.9.91`:*\r\n\r\n- If fields's `input_template` path is relative, then it is relative to current working directory (directory from which you invoked `meteor-kitchen` command), and that's only if input file is at URL.\r\n\r\n- if `input_template` is relative path and input file is local file (not URL) then `input_template` path is relative to input .json file (the same as before).\r\n\r\n- There is new `input_template_code` property where you can directly enter markup for your input control. In that case you don't need external file (you don't need `input_template`).\r\n\r\n- If you need any initialization (jQuery or javascript code of any kind), then you can add it into form's `template_rendered_code`.\r\n "}}
{"actor":{"display_login":"perak"}}