Skip to content

Commit a23a964

Browse files
update readme
1 parent e91c5cc commit a23a964

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Laravel Vue Validator
22

3+
By [bubbleflat.com](bubbleflat.com)
4+
35
This 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 :
2123
You 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

2529
To flush errors in a vue component:
2630

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)