How do I change the HTML5 placeholder text that appears in date field in Chrome

前端 未结 2 1411
梦如初夏
梦如初夏 2021-01-18 11:09

I was pleasantly surprised to discover that the following code, when viewed in Chrome, renders a datepicker:



        
2条回答
  •  心在旅途
    2021-01-18 11:39

    The date type doesn't support placeholder attribute. Also, the WebKit implementation says it's fixed.

提交回复
热议问题