multiple selections with datalist

Multiple currently working only with input type=”email” and only in Chrome and Opera

Look at this minimalist example:

<input type="email" list="emails" multiple>
<datalist id="emails">
    <option value="">
    <option value="">
    <option value="">
    <option value="">


<input type="text" list="texts" multiple>
<datalist id="texts">
    <option value="black">
    <option value="gold">
    <option value="grey">
    <option value="pink">
    <option value="turquoise">
    <option value="red">
    <option value="white">

First input will be working, second NOT.

You only press comma, and list will appear as same as on click into input.

Leave a Comment