{"action":"created","issue":{"url":"https://api.github.com/repos/getgrav/grav/issues/1287","repository_url":"https://api.github.com/repos/getgrav/grav","labels_url":"https://api.github.com/repos/getgrav/grav/issues/1287/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav/issues/1287/comments","events_url":"https://api.github.com/repos/getgrav/grav/issues/1287/events","html_url":"https://github.com/getgrav/grav/issues/1287","id":204641587,"number":1287,"title":"Unexpected results from form blueprint","user":{"login":"paulhibbitts","id":1812771,"avatar_url":"https://avatars.githubusercontent.com/u/1812771?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhibbitts","html_url":"https://github.com/paulhibbitts","followers_url":"https://api.github.com/users/paulhibbitts/followers","following_url":"https://api.github.com/users/paulhibbitts/following{/other_user}","gists_url":"https://api.github.com/users/paulhibbitts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhibbitts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhibbitts/subscriptions","organizations_url":"https://api.github.com/users/paulhibbitts/orgs","repos_url":"https://api.github.com/users/paulhibbitts/repos","events_url":"https://api.github.com/users/paulhibbitts/events{/privacy}","received_events_url":"https://api.github.com/users/paulhibbitts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"flaviocopes","id":11783388,"avatar_url":"https://avatars.githubusercontent.com/u/11783388?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviocopes","html_url":"https://github.com/flaviocopes","followers_url":"https://api.github.com/users/flaviocopes/followers","following_url":"https://api.github.com/users/flaviocopes/following{/other_user}","gists_url":"https://api.github.com/users/flaviocopes/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviocopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviocopes/subscriptions","organizations_url":"https://api.github.com/users/flaviocopes/orgs","repos_url":"https://api.github.com/users/flaviocopes/repos","events_url":"https://api.github.com/users/flaviocopes/events{/privacy}","received_events_url":"https://api.github.com/users/flaviocopes/received_events","type":"User","site_admin":false},"assignees":[{"login":"flaviocopes","id":11783388,"avatar_url":"https://avatars.githubusercontent.com/u/11783388?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviocopes","html_url":"https://github.com/flaviocopes","followers_url":"https://api.github.com/users/flaviocopes/followers","following_url":"https://api.github.com/users/flaviocopes/following{/other_user}","gists_url":"https://api.github.com/users/flaviocopes/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviocopes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviocopes/subscriptions","organizations_url":"https://api.github.com/users/flaviocopes/orgs","repos_url":"https://api.github.com/users/flaviocopes/repos","events_url":"https://api.github.com/users/flaviocopes/events{/privacy}","received_events_url":"https://api.github.com/users/flaviocopes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-02-01T16:58:29Z","updated_at":"2017-02-14T21:12:26Z","closed_at":"2017-02-13T10:26:28Z","body":"I have the following blueprint:\r\n\r\n```\r\n        -\r\n            name: taxonomy.tag\r\n            type: checkboxes\r\n            label: 'Tag for Blog Post'\r\n            options:\r\n                tag1: 'Tag 1'\r\n                tag2: 'Tag 2'\r\n                tag3: 'Tag 3'\r\n                tag4: 'Tag 4'\r\n```\r\n\r\nAnd the front matter generated looks like this:\r\n\r\n```\r\n---\r\ntaxonomy:\r\n    tag:\r\n        taxonomy.tag-tag1: tag1\r\n        taxonomy.tag-tag3: tag3\r\n---\r\n```\r\n\r\nIs this an issue with my blueprint formatting or an issue with Grav blueprint processing?\r\n\r\nThanks very much,\r\nPaul"},"comment":{"url":"https://api.github.com/repos/getgrav/grav/issues/comments/279837402","html_url":"https://github.com/getgrav/grav/issues/1287#issuecomment-279837402","issue_url":"https://api.github.com/repos/getgrav/grav/issues/1287","id":279837402,"user":{"login":"bleutzinn","id":9297677,"avatar_url":"https://avatars.githubusercontent.com/u/9297677?v=3","gravatar_id":"","url":"https://api.github.com/users/bleutzinn","html_url":"https://github.com/bleutzinn","followers_url":"https://api.github.com/users/bleutzinn/followers","following_url":"https://api.github.com/users/bleutzinn/following{/other_user}","gists_url":"https://api.github.com/users/bleutzinn/gists{/gist_id}","starred_url":"https://api.github.com/users/bleutzinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleutzinn/subscriptions","organizations_url":"https://api.github.com/users/bleutzinn/orgs","repos_url":"https://api.github.com/users/bleutzinn/repos","events_url":"https://api.github.com/users/bleutzinn/events{/privacy}","received_events_url":"https://api.github.com/users/bleutzinn/received_events","type":"User","site_admin":false},"created_at":"2017-02-14T21:12:26Z","updated_at":"2017-02-14T21:12:26Z","body":"I've looked into the issue a bit. Why the Add Page plugin does is that it inserts the form field values as frontmatter of the newly created page. This goes well for simple field types such as text fields. However, with more complex field types such as checkbox this is not as straightforward.\r\nSo, I think the issue has nothing to do with the YAML formatting itself but requires a more clever way of  processing input fields by the Add Page plugin.\r\n@flaviocopes, can you confirm this?"}}
{"actor":{"display_login":"bleutzinn"}}