submitOnChange
Why JS.
import { submitOnChange } from "@sdxc/ui/app";Usage
Applied to any element inside a form: submits that form through requestSubmit on every
change, so the app's own submit handling (a frame, a fetch) takes the request.
Signature
submitOnChange(): MixinDescriptor<HTMLElement>Examples
<span hidden mix={[submitOnChange()]} />