DateField with dropdown

Let’s say I have a DateField where I want to let users enter any date, but also want to provide a dropdown of common dates. Is there a way to do this?

Some kind of combination of DateField and ComboBox? I’m not sure what kinds of exact widgets and user interactions you had in mind, but I suppose

  1. there’s no exact out of the box functionality like that
  2. all of the necessary pieces should be available
  3. because of 2), such a component would be implementable as a [custom client-side component]
    (https://vaadin.com/docs/v8/framework/clientside/clientside-widget.html) mostly by scavenging existing pieces of code
  4. it might also be possible to do a server-side [CustomField composition]
    (https://vaadin.com/docs/v8/framework/components/components-customfield.html) to achieve the functionality, but there you have less control over the final client-side behavior

-Olli

CustomField worked perfectly, BTW, and was quite simple.