File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11# Laravel Vue Validator
22
3+ By [ bubbleflat.com] ( bubbleflat.com )
4+
35This package allow to display errors from laravel validation rules
46
57! This package needs vue-resource to work !
@@ -21,6 +23,8 @@ If you have in your laravel validation rule :
2123You can display the error using in vue :
2224
2325 ` <error input="name" /> `
26+
27+ This error will only be displayed if a 422 error is produced by laravel when the form is submited (when the rule is not satisfied)
2428
2529To flush errors in a vue component:
2630
Original file line number Diff line number Diff line change 11{
22 "name" : " laravel-vue-validator" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.3 " ,
44 "description" : " Simple package to display error in vue from laravel validation" ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments