{"action":"created","issue":{"url":"https://api.github.com/repos/vazco/uniforms/issues/152","repository_url":"https://api.github.com/repos/vazco/uniforms","labels_url":"https://api.github.com/repos/vazco/uniforms/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/vazco/uniforms/issues/152/comments","events_url":"https://api.github.com/repos/vazco/uniforms/issues/152/events","html_url":"https://github.com/vazco/uniforms/issues/152","id":197425406,"number":152,"title":"Placeholder not been applied","user":{"login":"vladejs","id":12637186,"avatar_url":"https://avatars.githubusercontent.com/u/12637186?v=3","gravatar_id":"","url":"https://api.github.com/users/vladejs","html_url":"https://github.com/vladejs","followers_url":"https://api.github.com/users/vladejs/followers","following_url":"https://api.github.com/users/vladejs/following{/other_user}","gists_url":"https://api.github.com/users/vladejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vladejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladejs/subscriptions","organizations_url":"https://api.github.com/users/vladejs/orgs","repos_url":"https://api.github.com/users/vladejs/repos","events_url":"https://api.github.com/users/vladejs/events{/privacy}","received_events_url":"https://api.github.com/users/vladejs/received_events","type":"User","site_admin":false},"labels":[{"id":373826912,"url":"https://api.github.com/repos/vazco/uniforms/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"radekmie","id":1379064,"avatar_url":"https://avatars.githubusercontent.com/u/1379064?v=3","gravatar_id":"","url":"https://api.github.com/users/radekmie","html_url":"https://github.com/radekmie","followers_url":"https://api.github.com/users/radekmie/followers","following_url":"https://api.github.com/users/radekmie/following{/other_user}","gists_url":"https://api.github.com/users/radekmie/gists{/gist_id}","starred_url":"https://api.github.com/users/radekmie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radekmie/subscriptions","organizations_url":"https://api.github.com/users/radekmie/orgs","repos_url":"https://api.github.com/users/radekmie/repos","events_url":"https://api.github.com/users/radekmie/events{/privacy}","received_events_url":"https://api.github.com/users/radekmie/received_events","type":"User","site_admin":false},"assignees":[{"login":"radekmie","id":1379064,"avatar_url":"https://avatars.githubusercontent.com/u/1379064?v=3","gravatar_id":"","url":"https://api.github.com/users/radekmie","html_url":"https://github.com/radekmie","followers_url":"https://api.github.com/users/radekmie/followers","following_url":"https://api.github.com/users/radekmie/following{/other_user}","gists_url":"https://api.github.com/users/radekmie/gists{/gist_id}","starred_url":"https://api.github.com/users/radekmie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radekmie/subscriptions","organizations_url":"https://api.github.com/users/radekmie/orgs","repos_url":"https://api.github.com/users/radekmie/repos","events_url":"https://api.github.com/users/radekmie/events{/privacy}","received_events_url":"https://api.github.com/users/radekmie/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-12-23T20:54:53Z","updated_at":"2016-12-27T21:00:45Z","closed_at":null,"body":"I have a simple schema and placeholder value is not working properly:\r\n```coffeescript\r\nvenue:\r\n  type: String\r\n  uniforms:\r\n    placeholder: \"doesn't work\"\r\n```\r\nIs maybe a regression?"},"comment":{"url":"https://api.github.com/repos/vazco/uniforms/issues/comments/269382062","html_url":"https://github.com/vazco/uniforms/issues/152#issuecomment-269382062","issue_url":"https://api.github.com/repos/vazco/uniforms/issues/152","id":269382062,"user":{"login":"vladejs","id":12637186,"avatar_url":"https://avatars.githubusercontent.com/u/12637186?v=3","gravatar_id":"","url":"https://api.github.com/users/vladejs","html_url":"https://github.com/vladejs","followers_url":"https://api.github.com/users/vladejs/followers","following_url":"https://api.github.com/users/vladejs/following{/other_user}","gists_url":"https://api.github.com/users/vladejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vladejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladejs/subscriptions","organizations_url":"https://api.github.com/users/vladejs/orgs","repos_url":"https://api.github.com/users/vladejs/repos","events_url":"https://api.github.com/users/vladejs/events{/privacy}","received_events_url":"https://api.github.com/users/vladejs/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T21:00:45Z","updated_at":"2016-12-27T21:00:45Z","body":"@cyclops24 , @radekmie  It doesn't work and it's a bug, because as the API docs says:\r\n> (...) set it to true to enable placeholders for the **whole** form.\r\n\r\nPutting `placeholder={true}` will set placeholders to **all** form fields by default, which is not what I want.\r\n\r\nI want to put placeholders to fields I choose to. Moreover, even with this prop set to `true` I can't set custom placeholders to fields, it takes the field's label as placeholder no matter what, for example, the following definition will use the word \"Venue\" as a placeholder instead of \"Select a value\":\r\n\r\n```coffeescript\r\nvenue:\r\n    type: String\r\n    allowedValues: ['Home', 'Community', 'Other']\r\n    optional: true\r\n    uniforms:\r\n      placeholder: 'Select a value'\r\n```\r\n\r\nSo the expected behaviour should be: \r\n> Whether placeholder={true} is set or not on `AutoForm`, if I set a custom placeholder to a field, it should use it instead of the label."}}
{"actor":{"display_login":"vladejs"}}