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.
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