{"action":"created","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/5656","repository_url":"https://api.github.com/repos/Dogfalo/materialize","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/5656/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/5656/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/5656/events","html_url":"https://github.com/Dogfalo/materialize/issues/5656","id":297024703,"node_id":"MDU6SXNzdWUyOTcwMjQ3MDM=","number":5656,"title":"[1.0.0-alpha.3] Datepicker: When you select a date, the value is not inserted in the input tag","user":{"login":"andrey-helldar","id":10347617,"node_id":"MDQ6VXNlcjEwMzQ3NjE3","avatar_url":"https://avatars2.githubusercontent.com/u/10347617?v=4","gravatar_id":"","url":"https://api.github.com/users/andrey-helldar","html_url":"https://github.com/andrey-helldar","followers_url":"https://api.github.com/users/andrey-helldar/followers","following_url":"https://api.github.com/users/andrey-helldar/following{/other_user}","gists_url":"https://api.github.com/users/andrey-helldar/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-helldar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-helldar/subscriptions","organizations_url":"https://api.github.com/users/andrey-helldar/orgs","repos_url":"https://api.github.com/users/andrey-helldar/repos","events_url":"https://api.github.com/users/andrey-helldar/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-helldar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-02-14T09:22:58Z","updated_at":"2018-10-12T00:56:44Z","closed_at":"2018-02-14T16:33:06Z","author_association":"CONTRIBUTOR","body":"## Expected Behavior\r\n\r\nWhen selecting a date, the value attribute of the input tag should be filled.\r\n\r\n## Current Behavior\r\n\r\nThe value attribute of the input tag does not fill out.\r\n\r\n## Steps to Reproduce (for bugs)\r\n\r\nI initialize several components on the page, and none of them returns a value. I also tried to leave only one component on the page.\r\nExactly the same behavior is observed on the page http://next.materializecss.com/pickers.html.\r\n\r\nMy code:\r\n```javascript\r\nlet elem = document.querySelector('.datepicker');\r\nM.Datepicker.init(elem, options);\r\n```\r\n\r\n## Your Environment\r\n* Version used: 1.0.0-alpha.3\r\n* Framework: VueJS framework 2.5.13\r\n* Browser Name and version: Irrelevant\r\n* Operating System and version (desktop or mobile): Irrelevant"},"comment":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/comments/429168930","html_url":"https://github.com/Dogfalo/materialize/issues/5656#issuecomment-429168930","issue_url":"https://api.github.com/repos/Dogfalo/materialize/issues/5656","id":429168930,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTE2ODkzMA==","user":{"login":"ToniMaunde","id":31246918,"node_id":"MDQ6VXNlcjMxMjQ2OTE4","avatar_url":"https://avatars1.githubusercontent.com/u/31246918?v=4","gravatar_id":"","url":"https://api.github.com/users/ToniMaunde","html_url":"https://github.com/ToniMaunde","followers_url":"https://api.github.com/users/ToniMaunde/followers","following_url":"https://api.github.com/users/ToniMaunde/following{/other_user}","gists_url":"https://api.github.com/users/ToniMaunde/gists{/gist_id}","starred_url":"https://api.github.com/users/ToniMaunde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ToniMaunde/subscriptions","organizations_url":"https://api.github.com/users/ToniMaunde/orgs","repos_url":"https://api.github.com/users/ToniMaunde/repos","events_url":"https://api.github.com/users/ToniMaunde/events{/privacy}","received_events_url":"https://api.github.com/users/ToniMaunde/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T00:56:44Z","updated_at":"2018-10-12T00:56:44Z","author_association":"NONE","body":"> @aungmyohlaing v-model.lazy works. Do you know the reason behind this behaviour?\r\n> Thanks for the solution though.\r\n\r\n\"By **default, v-model syncs** the input with the data **after each input event** ... You can add the **lazy** modifier **to instead sync after change events**\"\r\n\r\nThank you for the tip.\r\n[Vue Docs on Forms](https://vuejs.org/v2/guide/forms.html)"}}
{"actor":{"display_login":"ToniMaunde"}}