Checkbox
Checkbox for consent/agreement. Always full-width.
Type: "checkboxField"
Checkbox for consent/agreement. Always full-width.
Props
| Field | Type | Default | Keterangan |
|---|---|---|---|
label | string | "Saya setuju dengan syarat & ketentuan" | Label |
required | boolean | false | Required |
linkText | string | — | Teks Link |
linkUrl | string | — | URL Link |
fieldIdentifier | string | "consent" | Field Identifier |
Contoh
{
"id": "che01abc",
"type": "checkboxField",
"props": {
"fieldIdentifier": "consent",
"label": "Saya setuju dengan syarat & ketentuan",
"required": false,
"linkText": "",
"linkUrl": ""
}
}