Radio and checkbox groups display errors after each individual element. They should be fixed to only display the error at the end of the group. There might be a use case where someone also wants to display an error near a specific option, but I'm not really sure. I would expect the default/easier way of specifying errors to put them after the group.
I fixed this in nestablish by overriding RadioGroup and CheckboxGroup to clear out the _messages['errors'] array element on the options it creates. See 29dae8bL16. This is likely not a good fix, but I didn't see any official way to remove or modify the errors or messages.
the solution would be for any radio or checkbox created by the group classes to 'find' messages in name.value instead of just name like all other elements... does that sound right to you? because a radiogroup of colors should put the error located at $errors[colors][red] under the red radio option (where the value is red)
let me know if that sounds logical to you guys
also, how are you setting _messages? it's protected
That sounds right to me.
Protected and private properties may be accessed by instances of the same class. It is a common mistake that people think that it must be the same instance of the class. See here.
quite interesting... not sure why I never questioned that part of my horrible college education
this seems to only be an issue on radioGroup, not checkboxGroup
changing the path that radio buttons use, closed by b401f69