paper-input
paper-input copied to clipboard
paper-input type="file": IronValidatorBehavior validate function doesn't get value even after file been choosen
Description
I am using paper-input type="file". And the goal is to validate the input to only allow PDF file. I tried creating custom validator and in the validate function I don't receive the value chosen in the input.
Expected outcome
The validate function should receive the user chosen file input path value to achieve the validation.
Actual outcome
Returns Undefined.
Live Demo
Steps to reproduce
Browsers Affected
- [ ] Chrome
- [ ] Firefox
- [ ] Safari 9
- [ ] Safari 8
- [ ] Safari 7
- [ ] Edge
- [ ] IE 11
- [ ] IE 10