Remove Datalist Dropdown Arrow in Chrome

前端 未结 5 1937
执念已碎
执念已碎 2021-02-02 05:57

Chrome has apparently added a dropdown arrow to text inputs that reference a . It\'s appearing in Chrome 34 (Canary) but not in the current stable b

5条回答
  •  失恋的感觉
    2021-02-02 06:27

    As others have mentioned ::-webkit-calendar-picker-indicator { display: none } works at removing the arrow it would also impact the html5 datepicker on a ,

    To remove just removing the datalist input would be:

    [list]::-webkit-calendar-picker-indicator { display: none; }

提交回复
热议问题