Open popup of DateField by code

hi!

is it possible to open the popup of the DateField component programmatically? could it be done by simulating a click on the DateField?

thanks in advance

Hi,

I don’t think there’s a way to do that out of the box, but if you’re not afraid of a little client-side coding I think it would be quite simple to create a small extension for the task. Looks like it would be enough to just have it call the com.vaadin.client.ui.VPopupCalendar.openCalendarPanel() method on the client side. The call could be triggered with an RPC call or a state change event from the server.