-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add validation for candidates #121
Conversation
113347c
to
30612e1
Compare
}, | ||
validate: function(){ | ||
var valid = true; | ||
//TODO: When https://github.com/PolymerElements/paper-dropdown-menu/pull/57 gets released, revisit this. |
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 just left them a comment. Releasing a new version should not be too cumbersome, maybe they are nice enough to release this in the next days.
01f0c50
to
51e4f02
Compare
This should be merged asap. Because of this changing all the selects in the app with |
51e4f02
to
234a811
Compare
A new version of |
234a811
to
654706d
Compare
label="Name <email>" | ||
value="{{candidate.Address}}" | ||
pattern="[a-zA-Z ]*<[a-z0-9!#$%&\'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&\'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?>" | ||
error-message="Incorrect format" |
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.
Useless message! At least give a hint on how it should look like.
cbcbdd3
to
7a81485
Compare
* add validateable behaviour to `invite-candidate-input`
7a81485
to
f3c7f1f
Compare
Add validation for candidates
invite-candidate-input