paper-input icon indicating copy to clipboard operation
paper-input copied to clipboard

paper-input type="file": IronValidatorBehavior validate function doesn't get value even after file been choosen

Open boopalan-dev opened this issue 6 years ago • 0 comments

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

boopalan-dev avatar Oct 10 '17 09:10 boopalan-dev