multiple selections with datalist

后端 未结 5 1104
心在旅途
心在旅途 2020-11-28 10:47

I\'m using the tag to create a list of suggestions for my search box, but I cannot select multiple values from the datalist. Currently, my HTML is:



        
5条回答
  •  日久生厌
    2020-11-28 11:05

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

    look at this minimalist example:

    
    
        
    
    
    
        
    

    ( http://jsfiddle.net/iiic/t66boyea/1/ )

    First input will be working, second NOT. You only press comma, and list will appear as same as on click into input.

提交回复
热议问题