{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/issues/71","labels_url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/issues/71/comments","events_url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/issues/71/events","html_url":"https://github.com/OfficeDev/Office-UI-Fabric/issues/71","id":104164018,"number":71,"title":"datepicker markup too complex","user":{"login":"kennywangjin","id":3364218,"avatar_url":"https://avatars.githubusercontent.com/u/3364218?v=3","gravatar_id":"","url":"https://api.github.com/users/kennywangjin","html_url":"https://github.com/kennywangjin","followers_url":"https://api.github.com/users/kennywangjin/followers","following_url":"https://api.github.com/users/kennywangjin/following{/other_user}","gists_url":"https://api.github.com/users/kennywangjin/gists{/gist_id}","starred_url":"https://api.github.com/users/kennywangjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennywangjin/subscriptions","organizations_url":"https://api.github.com/users/kennywangjin/orgs","repos_url":"https://api.github.com/users/kennywangjin/repos","events_url":"https://api.github.com/users/kennywangjin/events{/privacy}","received_events_url":"https://api.github.com/users/kennywangjin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/labels/components","name":"components","color":"5319e7"},{"url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/labels/VSO","name":"VSO","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"wdo3650","id":12520428,"avatar_url":"https://avatars.githubusercontent.com/u/12520428?v=3","gravatar_id":"","url":"https://api.github.com/users/wdo3650","html_url":"https://github.com/wdo3650","followers_url":"https://api.github.com/users/wdo3650/followers","following_url":"https://api.github.com/users/wdo3650/following{/other_user}","gists_url":"https://api.github.com/users/wdo3650/gists{/gist_id}","starred_url":"https://api.github.com/users/wdo3650/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdo3650/subscriptions","organizations_url":"https://api.github.com/users/wdo3650/orgs","repos_url":"https://api.github.com/users/wdo3650/repos","events_url":"https://api.github.com/users/wdo3650/events{/privacy}","received_events_url":"https://api.github.com/users/wdo3650/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-01T01:19:10Z","updated_at":"2015-10-01T23:40:56Z","closed_at":"2015-10-01T23:40:56Z","body":"to show a datepicker to a user, there are too many lines markup code.\r\nis that possible to generate these markups via javascript, just like jquery ui datepicker do:\r\n// input type='date'\r\n//\r\n//$('input[type=\"date\"]').datepicker({});\r\n//\r\nthis seems more convenient to use......"},"comment":{"url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/issues/comments/144877986","html_url":"https://github.com/OfficeDev/Office-UI-Fabric/issues/71#issuecomment-144877986","issue_url":"https://api.github.com/repos/OfficeDev/Office-UI-Fabric/issues/71","id":144877986,"user":{"login":"wdo3650","id":12520428,"avatar_url":"https://avatars.githubusercontent.com/u/12520428?v=3","gravatar_id":"","url":"https://api.github.com/users/wdo3650","html_url":"https://github.com/wdo3650","followers_url":"https://api.github.com/users/wdo3650/followers","following_url":"https://api.github.com/users/wdo3650/following{/other_user}","gists_url":"https://api.github.com/users/wdo3650/gists{/gist_id}","starred_url":"https://api.github.com/users/wdo3650/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdo3650/subscriptions","organizations_url":"https://api.github.com/users/wdo3650/orgs","repos_url":"https://api.github.com/users/wdo3650/repos","events_url":"https://api.github.com/users/wdo3650/events{/privacy}","received_events_url":"https://api.github.com/users/wdo3650/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T23:40:56Z","updated_at":"2015-10-01T23:40:56Z","body":"After discussing this component both internally and with the community, we believe it makes more sense to remove the jQuery-generated markup from DatePicker, since Fabric is more focused on the styling of components independent of its JS implementation. This puts the markup straight in the DOM, as it was before, allowing easier access to the elements, attributes and css without the need for Javascript to accomplish everyday tasks. \r\n\r\nThank you for the feedback. It prompted a great discussion internally about about what Fabric should focus on."}}