{"action":"created","issue":{"url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/5","labels_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/5/comments","events_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/5/events","html_url":"https://github.com/offirgolan/ember-cp-validations/issues/5","id":105513319,"number":5,"title":"Confirmation validation behavior causes strange UX","user":{"login":"blimmer","id":630449,"avatar_url":"https://avatars.githubusercontent.com/u/630449?v=3","gravatar_id":"","url":"https://api.github.com/users/blimmer","html_url":"https://github.com/blimmer","followers_url":"https://api.github.com/users/blimmer/followers","following_url":"https://api.github.com/users/blimmer/following{/other_user}","gists_url":"https://api.github.com/users/blimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/blimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blimmer/subscriptions","organizations_url":"https://api.github.com/users/blimmer/orgs","repos_url":"https://api.github.com/users/blimmer/repos","events_url":"https://api.github.com/users/blimmer/events{/privacy}","received_events_url":"https://api.github.com/users/blimmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-09T03:53:30Z","updated_at":"2015-09-09T04:00:41Z","closed_at":null,"body":"it's strange to me that there's a validation error message before the user even starts typing the confirmation.\r\n\r\nFor example, consider a password reset form:\r\n* The user gets here and needs to fill out their password and do a confirmation\r\n* The types their password the first time\r\n* They see a message that the passwords don't match, but they haven't even entered the confirmation yet\r\n\r\nFor example:\r\n\r\n![](http://zippy.gfycat.com/DecimalTenseAnemonecrab.gif)\r\n\r\nWhat do you think about applying the confirmation to the actual `${foo}Confirmation` property itself instead of the `${foo}` property? That way you can associate the error with the confirmation field if it's wrong."},"comment":{"url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/comments/138772360","html_url":"https://github.com/offirgolan/ember-cp-validations/issues/5#issuecomment-138772360","issue_url":"https://api.github.com/repos/offirgolan/ember-cp-validations/issues/5","id":138772360,"user":{"login":"blimmer","id":630449,"avatar_url":"https://avatars.githubusercontent.com/u/630449?v=3","gravatar_id":"","url":"https://api.github.com/users/blimmer","html_url":"https://github.com/blimmer","followers_url":"https://api.github.com/users/blimmer/followers","following_url":"https://api.github.com/users/blimmer/following{/other_user}","gists_url":"https://api.github.com/users/blimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/blimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blimmer/subscriptions","organizations_url":"https://api.github.com/users/blimmer/orgs","repos_url":"https://api.github.com/users/blimmer/repos","events_url":"https://api.github.com/users/blimmer/events{/privacy}","received_events_url":"https://api.github.com/users/blimmer/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T04:00:41Z","updated_at":"2015-09-09T04:00:41Z","body":"This is a much better UX, IMO:\r\n\r\n![](http://zippy.gfycat.com/PopularImmediateCougar.gif)\r\n\r\nI wrote a custom validator to do this in my app and am happy to port it over if this is the direction you guys want to go."}}