{"action":"created","issue":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1357","repository_url":"https://api.github.com/repos/valor-software/ng2-bootstrap","labels_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1357/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1357/comments","events_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1357/events","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/1357","id":196533879,"number":1357,"title":"Cannot get value of select date and add event on the top button","user":{"login":"XidongHuang","id":13139446,"avatar_url":"https://avatars.githubusercontent.com/u/13139446?v=3","gravatar_id":"","url":"https://api.github.com/users/XidongHuang","html_url":"https://github.com/XidongHuang","followers_url":"https://api.github.com/users/XidongHuang/followers","following_url":"https://api.github.com/users/XidongHuang/following{/other_user}","gists_url":"https://api.github.com/users/XidongHuang/gists{/gist_id}","starred_url":"https://api.github.com/users/XidongHuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XidongHuang/subscriptions","organizations_url":"https://api.github.com/users/XidongHuang/orgs","repos_url":"https://api.github.com/users/XidongHuang/repos","events_url":"https://api.github.com/users/XidongHuang/events{/privacy}","received_events_url":"https://api.github.com/users/XidongHuang/received_events","type":"User","site_admin":false},"labels":[{"id":245589274,"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-19T22:12:12Z","updated_at":"2016-12-20T16:07:18Z","closed_at":null,"body":"I have a question here. It seems like **\"(ngModelChange)\"** binds with **\"onChange($event)\"**, if I change it to other method like **\"doSomething($event)\"**, it will throw an **error**. \r\n     `<datepicker [(ngModel)]=\"dt\" [minDate]=\"minDate\"\r\n [showWeeks]=\"false\" (ngModelChange)=\"onChange($event)\"></datepicker>`\r\nI try to find and change the original method in source code, but I cannot find.\r\n\r\nAlso, I saw there is a **\"toggleMode()\"** method for the top button ( select 'years' or  'months'), because I want to have event when I click the top button, however, these is nothing change even I change the moethod in source code.\r\n\r\nAny hints for this?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/comments/268282856","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/1357#issuecomment-268282856","issue_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1357","id":268282856,"user":{"login":"XidongHuang","id":13139446,"avatar_url":"https://avatars.githubusercontent.com/u/13139446?v=3","gravatar_id":"","url":"https://api.github.com/users/XidongHuang","html_url":"https://github.com/XidongHuang","followers_url":"https://api.github.com/users/XidongHuang/followers","following_url":"https://api.github.com/users/XidongHuang/following{/other_user}","gists_url":"https://api.github.com/users/XidongHuang/gists{/gist_id}","starred_url":"https://api.github.com/users/XidongHuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XidongHuang/subscriptions","organizations_url":"https://api.github.com/users/XidongHuang/orgs","repos_url":"https://api.github.com/users/XidongHuang/repos","events_url":"https://api.github.com/users/XidongHuang/events{/privacy}","received_events_url":"https://api.github.com/users/XidongHuang/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T16:07:18Z","updated_at":"2016-12-20T16:07:18Z","body":"@valorkin Yep, I just let them work again, and now I am try the `onChnage `and `selectionDone` methods.\r\n"}}
{"actor":{"display_login":"XidongHuang"}}