The datalist-HTML-element gets replaced by a div-construct. It would be better to have it as a UL-list for correct markup.