Open 303248153 opened 8 years ago
Hello, I'm trying to embed validator component in my custom component, here is the template
<template> <validator name="validation"> <form novalidate> <slot></slot> </form> </validator> </template>
When I do this I get an error "a is undefined", and a is from
setupValidate: function setupValidate(t, i, e) { var n = this.params, a = this.validator = this.vm._validatorMaps[t];this.field
Looks like contents slot get evaluate first, how can I resolve this problem?
Hello, I'm trying to embed validator component in my custom component, here is the template
When I do this I get an error "a is undefined", and a is from
Looks like contents slot get evaluate first, how can I resolve this problem?