{"action":"created","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/1082","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1082/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1082/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1082/events","html_url":"https://github.com/Dogfalo/materialize/issues/1082","id":65980239,"number":1082,"title":"Date picker label does not move up when date inserted","user":{"login":"Krazitchek","id":11500208,"avatar_url":"https://avatars.githubusercontent.com/u/11500208?v=3","gravatar_id":"","url":"https://api.github.com/users/Krazitchek","html_url":"https://github.com/Krazitchek","followers_url":"https://api.github.com/users/Krazitchek/followers","following_url":"https://api.github.com/users/Krazitchek/following{/other_user}","gists_url":"https://api.github.com/users/Krazitchek/gists{/gist_id}","starred_url":"https://api.github.com/users/Krazitchek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krazitchek/subscriptions","organizations_url":"https://api.github.com/users/Krazitchek/orgs","repos_url":"https://api.github.com/users/Krazitchek/repos","events_url":"https://api.github.com/users/Krazitchek/events{/privacy}","received_events_url":"https://api.github.com/users/Krazitchek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-02T18:04:23Z","updated_at":"2015-04-24T18:54:14Z","closed_at":null,"body":"On date picker when a date is inserted, the label does not move up as with inputs fields without placeholder.\r\nOnce date selected, text and label are superimposed.\r\n![capture](https://cloud.githubusercontent.com/assets/11500208/6970055/6968ea60-d973-11e4-8ee2-1484a513c5e2.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/comments/96035064","html_url":"https://github.com/Dogfalo/materialize/issues/1082#issuecomment-96035064","issue_url":"https://api.github.com/repos/Dogfalo/materialize/issues/1082","id":96035064,"user":{"login":"Djuka","id":5314030,"avatar_url":"https://avatars.githubusercontent.com/u/5314030?v=3","gravatar_id":"","url":"https://api.github.com/users/Djuka","html_url":"https://github.com/Djuka","followers_url":"https://api.github.com/users/Djuka/followers","following_url":"https://api.github.com/users/Djuka/following{/other_user}","gists_url":"https://api.github.com/users/Djuka/gists{/gist_id}","starred_url":"https://api.github.com/users/Djuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djuka/subscriptions","organizations_url":"https://api.github.com/users/Djuka/orgs","repos_url":"https://api.github.com/users/Djuka/repos","events_url":"https://api.github.com/users/Djuka/events{/privacy}","received_events_url":"https://api.github.com/users/Djuka/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T18:54:14Z","updated_at":"2015-04-24T18:54:14Z","body":"Hm... In documentation I see that example was made without wrapper with input-field class (I guess you wrapped this with one). So maybe it is not supported. But I don't see any good reason for type=\"date\" input to exist, except for semantics (I might be wrong here since I am just a few hours into this framework). Since datepicker class will spawn datepicker on click event that will cover whole page and the animation should work with type=\"text\" it could've been kept simple like this:\r\n```html\r\n<div class=\"input-field\">\r\n    <label for=\"something\">Something</label>\r\n    <input id=\"something\" type=\"text\" class=\"datepicker\">\r\n</div>\r\n```\r\nBut there are some animation issues with labels in this setup, as in my browser it either disappears or it gets pushed down by certain amount.\r\nThe documentation should probably be edited to say if datepicker inputs should be wrapped with input-field class or not, as in current example in documentation it isn't.\r\nI also suggest you share more info next time, like html, so we don't need to guess what your wrote."}}