jurassix / react-validation-mixin

Simple validation mixin (HoC) for React.
MIT License
283 stars 38 forks source link

Inconsistent getValidationMessages() #56

Closed boldt closed 8 years ago

boldt commented 8 years ago

The data type returned by getValidationMessages should stay the same, e.g. array. Means: even if I get just a singe message, it should be an array: ['"E-Mail" must be a valid email']

jurassix commented 8 years ago

Yeah this was supposed to be fixed with the last release. Can you upgrade and let me know?

boldt commented 8 years ago

Works as expected with the last upgrade. Thanks!

jurassix commented 8 years ago

Thanks for the report!