-
Notifications
You must be signed in to change notification settings - Fork 431
Cant get validate to function #103
Comments
Have you tried outputting the state of the validator?
|
Seems to me like vue validates the template before vue-validate is ready in the second case. Due to the error happening, vue cant render The "broken code" is running fine stand-alone: http://codepen.io/martinlindhe/pen/LGPvzo But I can also reproduce this issue if i put the "broken code" inside my already somewhat big vue app (first sample works, second gives the same error). Vue 1.0.10, vue-validator 2.0.0-alpha.5 Only obvious difference I can see is that the codepen loads the cdn javascripts, while my bigger vue app registers the plugin using |
Same setup aas @martinlindhe and errors :D |
This component/validation works perfectly in my large vue app running the following: However, I do get the following in the console I'm running "vuejs/vue-validator#dev" (latest commit), perhaps that's why it's working? |
Sorry, I cannot find a solution to this issue yet. I'm asking the advise about related issue at below forum. http://forum.vuejs.org/topic/957/how-to-avoid-evaluating-expression-warning-for-plugin-author This issue is occuring when we using development version of vue.js In development of app, we can avoid this issue by setting the I'll try to write the |
oh cool, thanks @kazupon good job! |
Thanks @kazupon Good job! |
make sure this solve my problem. thanks @davidpelaez for helping :D |
This looks very weird. If the problem's solved by exposing Vue to the window David Peláez Tamayo | Designer & Entrepreneur
|
Hey all,
This works
But this does not
what im i doing wrong?
The text was updated successfully, but these errors were encountered: