Closed emmby closed 2 years ago
First time user, hit an unexpected behavior when trying to access the value of input elements. Other attributes like id are just fine, but value does not seem to be present in the parsed output.
id
value
// typescript var input = <HTMLInputElement>parseHTML("<input id='foo' value='bar'/>").document.children[0]; console.log(input.id); // foo console.log(input.value); // undefined
Is this expected behavior?
It's up 👋
works great, thanks for the very quick turnaround!
Thank you for the report 👍
First time user, hit an unexpected behavior when trying to access the value of input elements. Other attributes like
id
are just fine, butvalue
does not seem to be present in the parsed output.Is this expected behavior?