Current Vaadin Timepicker

When I use the dropdown, the final submit value will restrict itself to an HH:MM format even though the initial display value has a HH:MM:SS format. Is there an example of how this my work in javascipt? The api documentation seems pretty meager. Thanks!