Set the input element's type to date using type="date".

Make sure to type type="date".