{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/4891","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/4891/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/4891/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/4891/events","html_url":"https://github.com/callemall/material-ui/issues/4891","id":169229434,"number":4891,"title":"[SelectField] Floating Labels broken in 0.15.3 release","user":{"login":"petermikitsh","id":1571918,"avatar_url":"https://avatars.githubusercontent.com/u/1571918?v=3","gravatar_id":"","url":"https://api.github.com/users/petermikitsh","html_url":"https://github.com/petermikitsh","followers_url":"https://api.github.com/users/petermikitsh/followers","following_url":"https://api.github.com/users/petermikitsh/following{/other_user}","gists_url":"https://api.github.com/users/petermikitsh/gists{/gist_id}","starred_url":"https://api.github.com/users/petermikitsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermikitsh/subscriptions","organizations_url":"https://api.github.com/users/petermikitsh/orgs","repos_url":"https://api.github.com/users/petermikitsh/repos","events_url":"https://api.github.com/users/petermikitsh/events{/privacy}","received_events_url":"https://api.github.com/users/petermikitsh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/Regression","name":"Regression","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/callemall/material-ui/milestones/20","html_url":"https://github.com/callemall/material-ui/milestones/0.15.4%20Release","labels_url":"https://api.github.com/repos/callemall/material-ui/milestones/20/labels","id":1921942,"number":20,"title":"0.15.4 Release","description":"","creator":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2016-08-03T21:22:54Z","updated_at":"2016-08-04T18:03:42Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-08-03T20:45:20Z","updated_at":"2016-08-06T11:51:47Z","closed_at":"2016-08-04T18:03:42Z","body":"### Problem description\r\n\r\nFloating Labels (0.15.3) render like this:\r\n\r\n<img width=\"389\" alt=\"screen shot 2016-08-03 at 1 39 15 pm\" src=\"https://cloud.githubusercontent.com/assets/1571918/17381333/404a271e-5980-11e6-8a85-fc3d53b3b1a6.png\">\r\n\r\nin 0.15.2 they looked like this:\r\n\r\n<img width=\"355\" alt=\"screen shot 2016-08-03 at 1 43 08 pm\" src=\"https://cloud.githubusercontent.com/assets/1571918/17381337/431daaa6-5980-11e6-91d6-fb9c8e008e9f.png\">\r\n\r\n\r\n### Steps to reproduce\r\n\r\nGo to [http://www.material-ui.com/#/components/select-field](http://www.material-ui.com/#/components/select-field) and go to the Floating Label section.\r\n\r\n```jsx\r\nconst items = [\r\n  <MenuItem key={1} value={1} primaryText=\"Never\" />,\r\n  <MenuItem key={2} value={2} primaryText=\"Every Night\" />,\r\n  <MenuItem key={3} value={3} primaryText=\"Weeknights\" />,\r\n  <MenuItem key={4} value={4} primaryText=\"Weekends\" />,\r\n  <MenuItem key={5} value={5} primaryText=\"Weekly\" />,\r\n];\r\n\r\n        <SelectField\r\n          value={this.state.value}\r\n          onChange={this.handleChange}\r\n          floatingLabelText=\"Floating Label Text\"\r\n        >\r\n          {items}\r\n        </SelectField>\r\n```\r\n\r\n### Versions\r\n\r\n- Material-UI: 0.15.3\r\n- React: 15.3.0\r\n- Browser: Chrome\r\n"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/238019676","html_url":"https://github.com/callemall/material-ui/issues/4891#issuecomment-238019676","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/4891","id":238019676,"user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T11:51:47Z","updated_at":"2016-08-06T11:51:47Z","body":"> i.e. selecting between 3 options and no default\r\n\r\nFrom a data point of view, there is always a default implicit value. It's really about how users are perceiving it.\r\n\r\n> is future behavior expected to be that a SelectField can't be empty \r\n\r\nAs far as I see the issue, the closer the behavior is from a native `select`, the better.\r\n"}}
{"actor":{"display_login":"oliviertassinari"}}