/** * The forms add-on (@wcstack/state/features/forms): what a form does outside the `input` event * (docs/forms.md; docs/seam-apps.md, ekiden-entry). A two-way binding hears one event — `input` on a * field — and state writes the field whenever its value is not the one the field shows. Three things a * form does fall between those two, each without a word: * * - A composition (an IME: Japanese, Chinese, Korean). State wrote the field while its text was being * composed — a setter that normalizes what is typed, a draft another tab saved, an address looked up * — and a write to a field ends its composition where it is: the text so far is committed and typed * again (`やまだ` became `ヤヤマヤマダヤマダ`). While a field is composed, the bindings that write it are * held; when the composition is over they are applied, with the value state has then. * - A value that arrives with no `input` event: an autofill that fires `change` alone, a value a browser * or an extension puts in silently. On `change`, and before a form is submitted, a field whose value * is not the one state last saw there is told to state. * - A reset (`