{"action":"created","issue":{"url":"https://api.github.com/repos/Wikiki/bulma-calendar/issues/93","repository_url":"https://api.github.com/repos/Wikiki/bulma-calendar","labels_url":"https://api.github.com/repos/Wikiki/bulma-calendar/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/Wikiki/bulma-calendar/issues/93/comments","events_url":"https://api.github.com/repos/Wikiki/bulma-calendar/issues/93/events","html_url":"https://github.com/Wikiki/bulma-calendar/issues/93","id":351321449,"node_id":"MDU6SXNzdWUzNTEzMjE0NDk=","number":93,"title":"Cannot get value from calendar","user":{"login":"stevensacks","id":162252,"node_id":"MDQ6VXNlcjE2MjI1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/162252?v=4","gravatar_id":"","url":"https://api.github.com/users/stevensacks","html_url":"https://github.com/stevensacks","followers_url":"https://api.github.com/users/stevensacks/followers","following_url":"https://api.github.com/users/stevensacks/following{/other_user}","gists_url":"https://api.github.com/users/stevensacks/gists{/gist_id}","starred_url":"https://api.github.com/users/stevensacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevensacks/subscriptions","organizations_url":"https://api.github.com/users/stevensacks/orgs","repos_url":"https://api.github.com/users/stevensacks/repos","events_url":"https://api.github.com/users/stevensacks/events{/privacy}","received_events_url":"https://api.github.com/users/stevensacks/received_events","type":"User","site_admin":false},"labels":[{"id":1026624960,"node_id":"MDU6TGFiZWwxMDI2NjI0OTYw","url":"https://api.github.com/repos/Wikiki/bulma-calendar/labels/documentation","name":"documentation","color":"0e8a16","default":false},{"id":665386366,"node_id":"MDU6TGFiZWw2NjUzODYzNjY=","url":"https://api.github.com/repos/Wikiki/bulma-calendar/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-16T18:38:08Z","updated_at":"2018-08-19T08:54:42Z","closed_at":null,"author_association":"NONE","body":"According to the closed issue #50 the calendar supports callbacks, however, it is not working for me.\r\n\r\n```javascript\r\ncomponentDidMount() {\r\n    bulmaCalendar.attach(`#date-picker-${this.props.version.id}`, {\r\n        overlay: true,\r\n        startDate: this.props.version.releaseDate,\r\n        onSelect: this.onDateSelect,\r\n    });\r\n}\r\n\r\nonDateSelect = event => {\r\n    console.log('onDateSelect', event);\r\n};\r\n```\r\n\r\nMy callback function does not get called.\r\n\r\nI dug into the source code and there's nothing in there that would call onSelect or any callback by any name you listed above. There's no reference to onSelect, onOpen or onClose in the source code.\r\n\r\nThe input field onChange doesn't fire, either. And when I check the input element's value using Javascript, it returns its original value, not the updated date, so I can't get the selected date value that way, either.\r\n\r\nIt's entirely unclear how to actually get the value that the calendar picker selected, and there's nothing in the docs that tells you how to get it."},"comment":{"url":"https://api.github.com/repos/Wikiki/bulma-calendar/issues/comments/414113590","html_url":"https://github.com/Wikiki/bulma-calendar/issues/93#issuecomment-414113590","issue_url":"https://api.github.com/repos/Wikiki/bulma-calendar/issues/93","id":414113590,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDExMzU5MA==","user":{"login":"Wikiki","id":24766179,"node_id":"MDQ6VXNlcjI0NzY2MTc5","avatar_url":"https://avatars0.githubusercontent.com/u/24766179?v=4","gravatar_id":"","url":"https://api.github.com/users/Wikiki","html_url":"https://github.com/Wikiki","followers_url":"https://api.github.com/users/Wikiki/followers","following_url":"https://api.github.com/users/Wikiki/following{/other_user}","gists_url":"https://api.github.com/users/Wikiki/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikiki/subscriptions","organizations_url":"https://api.github.com/users/Wikiki/orgs","repos_url":"https://api.github.com/users/Wikiki/repos","events_url":"https://api.github.com/users/Wikiki/events{/privacy}","received_events_url":"https://api.github.com/users/Wikiki/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T08:54:42Z","updated_at":"2018-08-19T08:54:42Z","author_association":"OWNER","body":"Amazing :-)\r\n\r\nI didn't know date-fns.\r\nDo you mind merging your work into my repo to put it available to all the community ?"}}
{"actor":{"display_login":"Wikiki"}}