form.elements.length has incorrect value if a form has a file input #2009
Labels
AREA: client
!IMPORTANT!
STATE: Auto-locked
Issues that were automatically locked by the Lock bot
SYSTEM: shadow UI
TYPE: bug
Milestone
We append a hidden input element to forms that upload files. All form's inputs can be accessed via the Array-like
form.elements
property. When you try to access our hidden input viaform.elements[i]
it's filtered andundefined
is retured instead. But it still affects theform.elements.length
property - it increases it by 1.test.html
test.js
The text was updated successfully, but these errors were encountered: