Error with validationMessages in beforeMount
iowahc opened this issue · 2 comments
iowahc commented
validationMessages are not applied to this.$vmv.messages when used in Component Declaration.
Code failing is in vuejs-model-validator/src/components/index.js:30
if (this.$options.validationMessages) this.vmv.setMessages(this.$options.validationMessages);
should either be
if (this.$options.validationMessages) this.$vmv.$setMessages(this.$options.validationMessages);
or
if (this.$options.validationMessages) vmv.setMessages(this.$options.validationMessages);
Could you check this please?
ragnarlotus commented
Sure, I will make a new release today or tomorrow top.
Thanks a lot for reporting!
ragnarlotus commented
Fixed, thank you!