Customize DateTimeField in Vaadin 8

Hi all,

In DateTimeField component, it displays both date (year, month, day) and hour (hour, minute, second). Now i don’t want to get date. Any idea to only allow to show and get time ( hour:minute:second) ?


I wanna that too, but in my case it is about the InlineDateField component. I need to change the weekend days and holidays colors (background or font-color)?

For the time-only field, you’ll need a custom component. There’s an add-on called TimeField that does just that: although it’s not yet ported to Vaadin 8.

For the themed dates, check out Tuning Datefield:


Great. I’ll be trying it.