Optionalname: string
the form's @name; default static formName, else the first form on the page
Optionalparent: FormHarness
the form this one is nested in
ReadonlyformThe form's @name. Not name, so a form can have a field called name.
Static OptionalformThe @name of the form this class describes; the constructor argument wins.
The
Form-level errors rendered by <f.Errors />.
The form's state: clean, dirty, invalid or submitting. A nested form has its own.
The harness for one field, created once per path and class.
The harness for a nested form (<f.Form @name>), created once per name and class.
OptionalType: HarnessClass<T>Clicks the form's submit button if it has one, otherwise submits the
A form. Use it directly (
new FormHarness('signup')) or subclass it and declare the form's fields with@fieldand nested forms with@form.