When I create a date field, something like this:

<input type="date" ... > 

Chrome shows the date entry format дд.мм.гггг . How can it be removed?

enter image description here

  • What is your ultimate goal? Remove the placeholder? - Sergey Omelchenko
  • Yes. However, <input type="date" placeholder=" "> does not work. Chrome in general doesn’t deal with a placeholder. - Skotinin

1 answer 1

 <input name="date" type="text" onfocus="(this.type='date')" onblur="if(!this.value)this.type='text'"> 

  • Ruslan_K, was such a thought. But it is undesirable that the entered date becomes invisible when the focus is gone. - Skotinin
  • and the truth is not the topic, I found another option - Ruslan_K