{"action":"created","issue":{"url":"https://api.github.com/repos/shabeer-ali-m/jPut/issues/8","labels_url":"https://api.github.com/repos/shabeer-ali-m/jPut/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/shabeer-ali-m/jPut/issues/8/comments","events_url":"https://api.github.com/repos/shabeer-ali-m/jPut/issues/8/events","html_url":"https://github.com/shabeer-ali-m/jPut/issues/8","id":61848190,"number":8,"title":"Set a checkbox with jPut","user":{"login":"bazzilic","id":1805832,"avatar_url":"https://avatars.githubusercontent.com/u/1805832?v=3","gravatar_id":"","url":"https://api.github.com/users/bazzilic","html_url":"https://github.com/bazzilic","followers_url":"https://api.github.com/users/bazzilic/followers","following_url":"https://api.github.com/users/bazzilic/following{/other_user}","gists_url":"https://api.github.com/users/bazzilic/gists{/gist_id}","starred_url":"https://api.github.com/users/bazzilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazzilic/subscriptions","organizations_url":"https://api.github.com/users/bazzilic/orgs","repos_url":"https://api.github.com/users/bazzilic/repos","events_url":"https://api.github.com/users/bazzilic/events{/privacy}","received_events_url":"https://api.github.com/users/bazzilic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-15T15:48:18Z","updated_at":"2015-03-16T13:52:52Z","closed_at":null,"body":"I couldn't figure out an elegant way to set a checkbox status using jPut. My current workaround is\r\n\r\n```html\r\n<div jput=\"chckboxDiv\" jput-singledata=\"true\">\r\n        {{json.BooleanValue?'<input id=chckbx type=checkbox checked>':'<input id=chckbx type=checkbox>'}}\r\n</div>\r\n```\r\n\r\nThis works but there might be a better way to do that. Do you have any ideas?"},"comment":{"url":"https://api.github.com/repos/shabeer-ali-m/jPut/issues/comments/81678477","html_url":"https://github.com/shabeer-ali-m/jPut/issues/8#issuecomment-81678477","issue_url":"https://api.github.com/repos/shabeer-ali-m/jPut/issues/8","id":81678477,"user":{"login":"shabeer-ali-m","id":7569963,"avatar_url":"https://avatars.githubusercontent.com/u/7569963?v=3","gravatar_id":"","url":"https://api.github.com/users/shabeer-ali-m","html_url":"https://github.com/shabeer-ali-m","followers_url":"https://api.github.com/users/shabeer-ali-m/followers","following_url":"https://api.github.com/users/shabeer-ali-m/following{/other_user}","gists_url":"https://api.github.com/users/shabeer-ali-m/gists{/gist_id}","starred_url":"https://api.github.com/users/shabeer-ali-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shabeer-ali-m/subscriptions","organizations_url":"https://api.github.com/users/shabeer-ali-m/orgs","repos_url":"https://api.github.com/users/shabeer-ali-m/repos","events_url":"https://api.github.com/users/shabeer-ali-m/events{/privacy}","received_events_url":"https://api.github.com/users/shabeer-ali-m/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T13:52:52Z","updated_at":"2015-03-16T13:52:52Z","body":"I tried its working fine. You can check the below fiddle link which i demonstrate your requirement. Also i will look into your issue.\r\n\r\nhttps://jsfiddle.net/nvm765z8/"}}