forms-and-validation
Installation
SKILL.md
Forms with Binder and Validation in Vaadin 25
Use the Vaadin MCP tools (search_vaadin_docs, get_component_java_api) to look up the latest documentation whenever uncertain about a specific API detail. Always set vaadin_version to "25" and ui_language to "java".
Binder Fundamentals
Binder connects UI fields to a Form Data Object (FDO) — a Java bean, record, or DTO. It handles reading values from the FDO into fields, writing field values back, converting between field types and model types, and validating at every level.
Binder can only bind components that implement HasValue (TextField, ComboBox, DatePicker, Checkbox, etc.).
Two Modes of Operation
Buffered mode — changes are held in the Binder until explicitly written: