Forms architecture
Typed model binding, nested controls and validation now run through one form contract.
Live form
Model binding and validation
Both inputs are bound bidirectionally to Property values. The validators come directly from model annotations.
Interactive profile
Change the model, force validation, or reset the interaction state.
Validation status
Edit a value or validate the complete form.
name = Ada Lovelace
email = [email protected]
Typed form API
Formular also powers SubForm and ArrayForm for nested models and lists.
scala
form(profile) {
inputContainer("Name") {
input("name") {}
}
subForm[Address]("address") {
input("street") {}
}
}