<input list=*> not parsing correctly
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:
- Create a new component library proyect with
npm init stencil. - Replace
MyComponentrender()with
render() {
return (
<div>
<input list="list" />
<datalist id="list">
<option value="1" />
<option value="2" />
<option value="3" />
</datalist>
</div>
);
}
- Rendered code will be

Note that list="list" is gone from rendered code.
Other information:
Have tried with both:
shadow: trueshadow: false
If 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.
Fixed! https://github.com/ionic-team/stencil/commit/73ea50e8007224f7f8bde9df29126dec39d3a943