{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/angular_components/issues/277","repository_url":"https://api.github.com/repos/dart-lang/angular_components","labels_url":"https://api.github.com/repos/dart-lang/angular_components/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/angular_components/issues/277/comments","events_url":"https://api.github.com/repos/dart-lang/angular_components/issues/277/events","html_url":"https://github.com/dart-lang/angular_components/issues/277","id":335071809,"node_id":"MDU6SXNzdWUzMzUwNzE4MDk=","number":277,"title":"How can I get notify if data of material-date-time-picker changed?","user":{"login":"EasonPai","id":678352,"node_id":"MDQ6VXNlcjY3ODM1Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/678352?v=4","gravatar_id":"","url":"https://api.github.com/users/EasonPai","html_url":"https://github.com/EasonPai","followers_url":"https://api.github.com/users/EasonPai/followers","following_url":"https://api.github.com/users/EasonPai/following{/other_user}","gists_url":"https://api.github.com/users/EasonPai/gists{/gist_id}","starred_url":"https://api.github.com/users/EasonPai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasonPai/subscriptions","organizations_url":"https://api.github.com/users/EasonPai/orgs","repos_url":"https://api.github.com/users/EasonPai/repos","events_url":"https://api.github.com/users/EasonPai/events{/privacy}","received_events_url":"https://api.github.com/users/EasonPai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-23T05:50:58Z","updated_at":"2018-06-25T03:14:35Z","closed_at":"2018-06-24T22:02:30Z","author_association":"NONE","body":"Event `dateTimeChange` for ` material-date-time-picker` can be found in source\r\nhttps://github.com/dart-lang/angular_components/blob/master/lib/material_datepicker/material_date_time_picker.dart\r\n\r\nso I tried this\r\n`<material-date-time-picker (dateTimeChange)=\"onUpdate()\" [(dateTime)]=\"dateTime\" [required]=\"true\">\r\n</material-date-time-picker>`\r\n\r\nand capture with this\r\n`\r\n  void onUpdate() {\r\n    sDate = dateTime.toString();\r\n  }\r\n`\r\n\r\nBut, when I run app, I get errors like:\r\n`\r\nGET http://localhost:63142/main.ddc.js 500 (Internal Server Error)\r\n  req.load\t\r\n  load\t\r\n  load\t\r\n  fetch\t\r\n  check\t\r\n  enable\t\r\n  enable\t\r\n  (anonymous function)\t\r\n  (anonymous function)\t\r\n  each\t\r\n  enable\t\r\n  init\t\r\n  (anonymous function)\t\r\nRefused to execute script from 'http://localhost:63142/main.ddc.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.\r\nUncaught Error: Script error for \"web/main\"\r\n  makeError\t\r\n  onScriptError\t\r\nGET http://localhost:63142/main.ddc.js.errors 500 (Internal Server Error)\r\n  requirejs.onError\t\r\n  onError\t\r\n  onScriptError\t\r\nUnknown error loading http://localhost:63142/main.ddc.js\r\n  xhr.onreadystatechange\r\n`\r\n\r\nSo, what is the correct way to get notifications of data changed ?\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/angular_components/issues/comments/399818877","html_url":"https://github.com/dart-lang/angular_components/issues/277#issuecomment-399818877","issue_url":"https://api.github.com/repos/dart-lang/angular_components/issues/277","id":399818877,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTgxODg3Nw==","user":{"login":"EasonPai","id":678352,"node_id":"MDQ6VXNlcjY3ODM1Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/678352?v=4","gravatar_id":"","url":"https://api.github.com/users/EasonPai","html_url":"https://github.com/EasonPai","followers_url":"https://api.github.com/users/EasonPai/followers","following_url":"https://api.github.com/users/EasonPai/following{/other_user}","gists_url":"https://api.github.com/users/EasonPai/gists{/gist_id}","starred_url":"https://api.github.com/users/EasonPai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasonPai/subscriptions","organizations_url":"https://api.github.com/users/EasonPai/orgs","repos_url":"https://api.github.com/users/EasonPai/repos","events_url":"https://api.github.com/users/EasonPai/events{/privacy}","received_events_url":"https://api.github.com/users/EasonPai/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T03:14:35Z","updated_at":"2018-06-25T03:14:35Z","author_association":"NONE","body":"Cool, the second way is even better than what I expected.\r\nThanks for such a thoroughly explanation."}}
{"actor":{"display_login":"EasonPai"}}