Stencil version:
@stencil/[email protected]
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
<input> list attribute not parsing correctly when inside a Stencil component.
Steps to reproduce:
npm init stencil. MyComponent render() withrender() {
return (
<div>
<input list="list" />
<datalist id="list">
<option value="1" />
<option value="2" />
<option value="3" />
</datalist>
</div>
);
}

Note that list="list" is gone from rendered code.
Other information:
Have tried with both:
shadow: trueshadow: falseIf used inside index.html like this
<body>
<input list="list" />
<datalist id="list">
<option value="1" />
<option value="2" />
<option value="3" />
</datalist>
</body>
Behaviour works as expected

OS: macOS Sierra 10.14.5
Browser: Chrome, Firefox, Safari
Ran into same issue recently.
I can reproduce the issue too
Same here in v1.4.0.
Still an issue as of v1.5.4.