Formular — component.form
Sammelt Eingabe-Bausteine und schickt sie an einen BENANNTEN Vorgang (kernel/operations.php). Kein Ziel, keine URL im Seiten-JSON — nur ein Name, der in der Weissliste stehen muss. 1.3.0: Aktionszeile optional mit Statustext (ui.status), Verwerfen-Knopf (reset), Submit-Icon/-Groesse und klebender La
Beispiele
Validation-Summary (serverseitige Fehler)
Kategorie anlegen — ein Feld, ein Vorgang
Nebeneinander, mit festem Wert
Rückfrage vor dem Absenden (confirm) mit Begründung, danger, Honeypot
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
submitFirst | boolean | false |
quickActions | array | [] |
quickMenu | object | [] |
liveSubmit | object | [] |
rev | string | "" |
lockedBy | object | [] |
quickLabel | string | "" |
op * | string | — |
showSubmit | boolean | true |
multipart | boolean | false |
submitLabel | string | "Save" |
submitIcon | string | "" |
cancelLabel | string | "" |
status | string | "" |
submitSize | string: sm | md | "md" |
statusTone | string: neutral | warning | success | "neutral" |
actionsPlacement | string: inline | sticky | "inline" |
variant | string: primary | secondary | ghost | danger | "primary" |
inline | boolean | false |
confirm | object | [] |
hidden | array | [] |
errors | array | [] |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
textColor | string | "" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
quickAdd | object | — |
submitIconOnly | boolean | false |
Events & Slots
Slot default: akzeptiert ui.input, ui.select, ui.textarea, ui.checkbox, ui.text, ui.heading, component.wizard, layout.* · Pflicht
Genutzte Design-Tokens
blur.sm border.emphasis border.hairline color.accent color.accent-soft color.border.default color.border.subtle color.status.danger color.status.danger-surface color.surface.default color.surface.sunken color.text.default color.text.muted duration.fast focus.ring-color focus.ring-width form.border-focus layer.sticky radius.md size.1 size.2 size.3 size.4 size.5 size.9 text.sm text.xs weight.semibold