Check for `type` uses `input` instead of `field`
davidhund opened this issue · 2 comments
davidhund commented
validityState-polyfill.js:L19 is currently:
var type = field.getAttribute('type') || input.nodeName.toLowerCase();
.. but should IMO be:
var type = field.getAttribute('type') || field.nodeName.toLowerCase();
cferdinandi commented
Yes! Good catch! I'll get this fixed ASAP.
cferdinandi commented
Looks like I fixed this a while ago and never closed the issue.