01
Overview
Form is a thin native form root that exposes asynchronous submission state to its child snippet and ignores duplicate submissions while the current handler is pending.
Use native validation and form controls as usual. The component owns only submit coordination; it does not replace native serialization, validation, or reset behavior.
02
When to use
Use when
- A form needs a shared pending state while an asynchronous submit handler runs.
Avoid when
- Submission is entirely native and no pending UI needs to be coordinated.
03
Examples
Basic form
Native form submission with Cinder controls.
04
Props
| Name | Type | Default | Description |
|---|---|---|---|
onSubmit | (event: SubmitEvent) => voidPromise<void> | ||
children | snippet |