How to determine if a DateField is valid in Vaadin 8
问题 I have: DateField dateField = new DateField("Date"); Button submitButton = new Button("Submit"); submitButton.addClickListener(click -> handleClickListener()); where in handleClickListener() I want to prevent a submit if there is a validation error in the DateField . I know I can use a Binder and then binder.validate() but this form has no backing object and I just want a simple form. How can I do something like: if(!dateField.isValid()) // no further processing else // process I can't find