2

I just discovered this HTML5 feature, and I managed to style some input properties.

So in Chrome this input opens an awesome calendar box and I want to style it. I didn't find anything via Google search. Is there some documentation for chrome date input type of this calendar, and is there a way of styling it?

I'm not interested on cross-browser support, and I don't want to use jQueryUI, or anything like that.

I'm using Angular2 and typescript and just plugging jQuery into that makes my stomach sick.

I'm only going to be using this on Chrome (no other browser support necessary).

Michael Armes
  • 1,056
  • 2
  • 17
  • 31
Mijail Dan Cohen
  • 189
  • 1
  • 1
  • 13
  • Does this answer your question? [Are there any style options for the HTML5 Date picker?](https://stackoverflow.com/questions/14946091/are-there-any-style-options-for-the-html5-date-picker) – Heretic Monkey Sep 13 '20 at 22:08

2 Answers2

1

According to

Styling the calendar for html5 native datepicker

and

Are there any style options for the HTML5 Date picker?

it doesn't seem like it's possible. Probably for good reason too - who knows what kind of chaos would ensue if browser specific widget styling of this magnitude was allowed. I think Chrome just provides this as a simple usability improvement for users.

Community
  • 1
  • 1
J. Song
  • 85
  • 6
-2

There is a PrimeFaces calendar that is very useful.

Prime Calendar