Placeholder for numbers doesn't work

<select data-placeholder="2020">

When I pass a number to the date attribute, it doesn’t appear in the placeholder, why?

This seems to be a bug. However, you can work around it by including a space as the first character of the placeholder: <select data-placeholder=" 2020">. As far as I can tell, the leading space is not displayed on screen.

Thank you very much…