Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

[3.0.0-alpha.2] validation component is not available in mounted hook? #353

Open
sqal opened this issue Jan 10, 2017 · 3 comments
Open

[3.0.0-alpha.2] validation component is not available in mounted hook? #353

sqal opened this issue Jan 10, 2017 · 3 comments

Comments

@sqal
Copy link

sqal commented Jan 10, 2017

vue & vue-validator version

[email protected], [email protected]

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.

@zodman
Copy link

zodman commented Feb 8, 2017

+1 too!

@mesis
Copy link

mesis commented Feb 9, 2017

+1

1 similar comment
@ddtramp
Copy link

ddtramp commented Apr 13, 2017

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants