How to turn off autocomplete while keep using datalist element in html

后端 未结 6 1961
萌比男神i
萌比男神i 2020-12-29 03:24

I have a input field which shows a list using html5 element. The problem is that with the browser au

6条回答
  •  天涯浪人
    2020-12-29 03:42

    I use a code like this:

    
    
        
        
    
    

    good: The datalist shown for selection is complete

    bad : The input field is empty, therefore the old value is not documented, if needed to be remembered by the user

提交回复
热议问题