forcedotcom / aura

This project is archived, please see the readme for additional resources.
Apache License 2.0
674 stars 333 forks source link

HTML5 datalist tag in lightning component not working as expected #178

Closed trekmona closed 5 years ago

trekmona commented 5 years ago

As Lightining components supports majority of html5 tags I have used the below code in lightning component code but it doesn't get shown in UI properly, The picklist options from data list is not shown at all Choose a browser from this list

<input list="browsers" name="myBrowser" />
<datalist id="browsers">
    <option value="Chrome" />
    <option value="Firefox"></option>
    <option value="Internet Explorer"></option>
</datalist>

is it like that this tag is unsupported in lightning component or I am missing something important to include.