{"action":"opened","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/4573","labels_url":"https://api.github.com/repos/playframework/playframework/issues/4573/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/4573/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/4573/events","html_url":"https://github.com/playframework/playframework/issues/4573","id":82401035,"number":4573,"title":"Play 2.3.8 bindFromRequest different behavior on hasErrors","user":{"login":"umbreak","id":1430863,"avatar_url":"https://avatars.githubusercontent.com/u/1430863?v=3","gravatar_id":"","url":"https://api.github.com/users/umbreak","html_url":"https://github.com/umbreak","followers_url":"https://api.github.com/users/umbreak/followers","following_url":"https://api.github.com/users/umbreak/following{/other_user}","gists_url":"https://api.github.com/users/umbreak/gists{/gist_id}","starred_url":"https://api.github.com/users/umbreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbreak/subscriptions","organizations_url":"https://api.github.com/users/umbreak/orgs","repos_url":"https://api.github.com/users/umbreak/repos","events_url":"https://api.github.com/users/umbreak/events{/privacy}","received_events_url":"https://api.github.com/users/umbreak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T12:07:04Z","updated_at":"2015-05-29T12:07:04Z","closed_at":null,"body":"I have a model with a list of enum `List<Role> role` and other stuff.\r\n\r\nWhen the form is submitted, I make a bindFromRequest. If the Form has errors (`.hasErrors()`), it turns out that the role field.value is null. If it doesn't it contains all the elements in the list ([ENUM1,ENUM2,...]):\r\n\r\nHowever, `userForm.field(\"role\").indexes()` returns always the number of indexes correctly (in my case 2). So doing `userForm.field(\"role[0]\")` will always work.\r\n\r\nBut why the value should be different in the case the form has errors or it doesn't?"}}