multiple selections with datalist

后端 未结 5 1096
心在旅途
心在旅途 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:10

    Customized datalist to accept multiple values:

    https://jsfiddle.net/bhbwg0rg/1/

    After each entry press ,(Comma) and then Spacebar

    
    
    You can type how many you want.
    
      
    

提交回复
热议问题