This project demonstrates how to create a more complex form using Vaadin Flow's Java API (Binder). The form code can be found in MainView.java. In addition, AvatarField.java has an implementation of a custom field.
The idea behind this example is to demonstrate various features of the Vaadin Binder, including data binding, automatic validation, error handling, and custom data type handling.
Import the project to the IDE of your choosing as a Maven project.
Run the application using mvn spring-boot:run
.
Open http://localhost:8080/ in your browser.
If you want to run the application locally in production mode, run mvn spring-boot:run -Pproduction
.