kazupon / vue-validator

:white_check_mark: Validator component for Vue.js
MIT License
2.19k stars 431 forks source link

vue-validator for vue 2.0 #257

Open kazupon opened 8 years ago

kazupon commented 8 years ago

v3.0 features

Update logs

kazupon commented 8 years ago

updated description.

blocka commented 8 years ago

Looking forward to being able to validate custom components.

Ellacf commented 8 years ago

good job

kazupon commented 8 years ago

update description.

PrimozRome commented 8 years ago

Hope it will allow us to validate custom component forms where form elements are written as sub components...

JWBrownie commented 8 years ago

I would like to make some testing with this, is there any pointers to use the validity class? Regards.

kazupon commented 8 years ago

update description

jxlarrea commented 8 years ago

Is the version for Vue.js 2.0 in NPM?

kazupon commented 8 years ago

no, I'm still working. please wait :bow:

IniZio commented 8 years ago

really like this project, hope v3 will be out soon :pray:

mandado commented 8 years ago

has someway of keep compatibility vue-validator 1 for use in vue 2.0 while vue-validate v3 don't released ?

joeyzone commented 8 years ago

what's the estimate for a 2.0-compatible release? thank you for your good plugin.

cbrhex commented 8 years ago

when we will be able install validator for vue 2?

yibbay commented 8 years ago

Validator has supported the 'vue2.0'?

kazupon commented 8 years ago

updated description. I'll try to write example codes and ready for pre-alpha version releasing.

xalexec commented 8 years ago

thanks good job

nblackburn commented 8 years ago

Getting close now, good job @kazupon.

joe434200 commented 8 years ago

I want to know , can we use vue.2 now? vue-validator-3.0 can bse used now?

nblackburn commented 8 years ago

@joe434200 not yet, but we are getting close.

miedzinski commented 8 years ago

I want to start using vue-validator right now from dev branch. I did npm install --save https://github.com/vuejs/vue-validator.git\#12f8754311f779a29bb06770770096d2bdc043b2. Are there any breaking API changes from 2.0 version? Can I use these docs? https://vuejs.github.io/vue-validator/en/

nblackburn commented 8 years ago

@miedzinski You can't, it's not ready for Vue 2.0 yet.

miedzinski commented 8 years ago

@nblackburn, as I said, I'm planning on using builds from dev branch. Are you saying that there isn't any Vue 2.0 compability code there? :)

At @Booksy we need something for validation in our soon-to-be-finished Vue 2.0 project and we've decided that dev-branch of vue-validator will be the best. We can always submit some fixes, but right now we need some help how to start using this library.

xereda commented 8 years ago

What is the deadline for official release !?

016 commented 8 years ago

I am here too, waiting for vue-validator v3 release, good work guys.

nblackburn commented 8 years ago

@xereda When it's done, there isn't really a timeframe on this from what i can see.

nblackburn commented 8 years ago

@miedzinski I would wait until we have an update, shouldn't be long now.

miedzinski commented 8 years ago

@nblackburn, unfortunately, we need to ship our app soon and doing validation is a must. As fair as I know, there aren't any alternatives to this library. Besides that, we could help with development, but we need some kind of intro to usage of vue-validator. :)

nblackburn commented 8 years ago

@miedzinski I understand that but you shouldn't have upgraded to Vue 2.0 until everything is compatible, it's only sensible not to.

blocka commented 8 years ago

Bolderdash....there are very compelling reasons to use vue2 and its been recommended for greenfield projects since the rcs....that said it's not difficult to implement basic validation yourself.

On Oct 20, 2016 4:24 PM, "Nathaniel Blackburn" notifications@github.com wrote:

@miedzinski https://github.com/miedzinski I understand that but you shouldn't have upgraded to Vue 2.0 until everything is compatible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vuejs/vue-validator/issues/257#issuecomment-255104652, or mute the thread https://github.com/notifications/unsubscribe-auth/AACoulBwz1u5paeolegIT3RpOthcIHsVks5q12ukgaJpZM4I1OJA .

psi-4ward commented 8 years ago

there is vee-validate which works for vue 2

On 20.10.2016 15:28, blocka wrote:

Bolderdash....there are very compelling reasons to use vue2 and its been recommended for greenfield projects since the rcs....that said it's not difficult to implement basic validation yourself.

On Oct 20, 2016 4:24 PM, "Nathaniel Blackburn" notifications@github.com wrote:

@miedzinski https://github.com/miedzinski I understand that but you shouldn't have upgraded to Vue 2.0 until everything is compatible.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub

https://github.com/vuejs/vue-validator/issues/257#issuecomment-255104652, or mute the thread

https://github.com/notifications/unsubscribe-auth/AACoulBwz1u5paeolegIT3RpOthcIHsVks5q12ukgaJpZM4I1OJA .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vuejs/vue-validator/issues/257#issuecomment-255105510, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIulBfI4okXvvlQMwIA5UMkgfs9hwfbks5q12x_gaJpZM4I1OJA.

nblackburn commented 8 years ago

@blocka Which would be fine but they are depending on this project which is not currently compatible with Vue 2.0, nor can they blame it for being the reason their app doesn't ship in time.

jxlarrea commented 8 years ago

vee-validate actually looks quite good!

blocka commented 8 years ago

It's only one small piece of a puzzle....not having vue-validate should not break a project

On Oct 20, 2016 4:37 PM, "Nathaniel Blackburn" notifications@github.com wrote:

@blocka https://github.com/blocka Which would be fine but they are depending on this project which is not currently compatible with Vue 2.0, hopefully you can appreciate why that is a bad move.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/vuejs/vue-validator/issues/257#issuecomment-255107795, or mute the thread https://github.com/notifications/unsubscribe-auth/AACouo2gz_ayZ3mhBwcJVf0eCpVdbGvRks5q126PgaJpZM4I1OJA .

ryandeussing commented 8 years ago

Right now the biggest weakness in the Vue ecosystem is the confusion and slow progress regarding plugin upgrades to Vue 2.0.

With major upgrades there ought to be a "target date" for plugin migration (it's been almost 90 days since the first 2.0 RC), after which plugins are listed as out-of-date/unsupported on official resources like https://github.com/vuejs/awesome-vue

Other frameworks have been here before, and the 'everyone figure it our for yourself' approach doesn't work.

/rant

nblackburn commented 8 years ago

@ryandeussing This is the only official one that is lagging behind but i fully agree with you especially being an official plugin.

nblackburn commented 8 years ago

@blocka Why wouldn't it if you upgrade everything else knowing there are breaking changes as it's a MAJOR release. It was irresponsible and they should have waited waited for it to become compatible before doing anything.

@kazupon Is working on it, please be patient.

miedzinski commented 8 years ago

We have started new project with Vue 2.0 from scratch. Choosing no longer maintained library at the beginning would be a lot worse than waiting for one plugin. It's not like lack of validation stopped us from developing app, but we need it for release and we're getting closer to it.

@psi-4ward, vee-validate looks good, going to try that. Thanks!

LinusBorg commented 8 years ago

Have you looked into alternatives like https://github.com/logaretm/vee-validate ?

It's not a law to use your lib :)

lavezzi1 commented 8 years ago

Hello guys, where I can an example of how to use this plugin with custom components?

And how validate on blur?

kazupon commented 8 years ago

released v3.0.0-alpha.1 https://github.com/vuejs/vue-validator/releases/tag/v3.0.0-alpha.1

joe434200 commented 8 years ago

@kazupon v3.0 Docs is the same as v2.0?

kazupon commented 8 years ago

@joe434200 sorry, no docs. however, there are some example codes. see the here

judocode commented 7 years ago

What is the status on 3.0? No activity in a few weeks and now Vue 2.1 is out. How can we help out? There seem to be no stable alternatives either that I have found.

nblackburn commented 7 years ago

@jrenton Last update to the code was 11 hours ago.

judocode commented 7 years ago

@nblackburn That is true. And my comment is from 12 hours ago ☺️

xpepermint commented 7 years ago

@jrenton In the meantime I encourage you to check the vue-contextable validator.

yunchuanyang commented 7 years ago

有没有发布版本?