lykmapipo / sails-hook-validation

Custom validation error messages for sails model with i18n support
104 stars 29 forks source link

Enum error #45

Open HuynhMinhTuan opened 8 years ago

HuynhMinhTuan commented 8 years ago

My field has property enum, I also defined validationMessages for that field, but the message return is not match with my expected: '"in" validation rule failed for input: \'\'\nSpecifically, it threw an error. Details:\n undefined'

armellarcier commented 7 years ago

You need to publish the model's validationMessages configuration if you wan't help