-
Notifications
You must be signed in to change notification settings - Fork 10
Feature/84 improve get form validation result.field errors #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/84 improve get form validation result.field errors #87
Conversation
| /*{ | ||
| firstName: { succeeded: true, type: "REQUIRED", key: "firstName", errorMessage: "" }, | ||
| lastName: { succeeded: true, type: "REQUIRED", key: "lastName", errorMessage: "" } | ||
| }*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember what was the intention when we create the readme about this commented code, dou you know why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see it's dumping the result, it's from a previous version (even previous that current)
| constructor() { | ||
| this.succeeded = false; | ||
| this.fieldErrors = []; | ||
| this.fieldErrors = {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MMM... I think this is a breaking change, should we go for a major release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think it should be major
No description provided.