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

is it like that this tag is unsupported in lightning component or I am missing something important to include. Is there is any easy way to have a text box + drop down in lightning component that shows similar functionality

1 Answer
1

This might not be the answer you're looking for, but data lists are supported according to the salesforce documentation. But I wasn't able to make them work either.

Supported HTML Tags :The HtmlTag enum in this open-source Aura
file lists the supported HTML tags. Any tag followed by (false) is
not supported. For example, applet(false) means the applet tag isn't
supported. In the above source datalist enum is not false. So
technicaly it is supported.