It's possible to hide the attribute name in the errors_on field with the option 'hide_attribute_name: true'

removes unnecessary equality check