I am trying to get validation component like in example provided above, but as you can see, in mounted state it is undefined and it's only ready when I change something in one of the fields.
What is actually happening?
validation component is undefined when accessing it inside mounted hook.
Not sure if bug or feature, but would appreciate your clarification on this one :) Thanks.
vue & vue-validator version
vue@2.1.8, vue-validator@3.0.0-alpha.2
Reproduction Link
https://jsfiddle.net/u0phhxLa/
What is Expected?
I am trying to get validation component like in example provided above, but as you can see, in
mounted
state it is undefined and it's only ready when I change something in one of the fields.What is actually happening?
validation
component is undefined when accessing it inside mounted hook.Not sure if bug or feature, but would appreciate your clarification on this one :) Thanks.