@@ -9,7 +9,7 @@ description: Field Schema Reference
99| :--- | :--- | :--- | :--- |
1010| ** name** | ` string ` | optional | Machine name (snake_case) |
1111| ** label** | ` string ` | optional | Human readable label |
12- | ** type** | ` Enum<'text' \| 'textarea' \| 'email' \| 'url' \| 'phone' \| 'password' \| 'markdown' \| 'html' \| 'richtext' \| 'number' \| 'currency' \| 'percent' \| 'date' \| 'datetime' \| 'time' \| 'boolean' \| 'select' \| 'lookup' \| 'master_detail' \| 'image' \| 'file' \| 'avatar' \| 'formula' \| 'summary' \| 'autonumber' \| 'location' \| 'address' \| 'code' \| 'color' \| 'rating' \| 'signature'> ` | ✅ | Field Data Type |
12+ | ** type** | ` Enum<'text' \| 'textarea' \| 'email' \| 'url' \| 'phone' \| 'password' \| 'markdown' \| 'html' \| 'richtext' \| 'number' \| 'currency' \| 'percent' \| 'date' \| 'datetime' \| 'time' \| 'boolean' \| 'select' \| 'lookup' \| 'master_detail' \| 'image' \| 'file' \| 'avatar' \| 'formula' \| 'summary' \| 'autonumber' \| 'location' \| 'geolocation' \| ' address' \| 'code' \| 'color' \| 'rating' \| 'slider' \| ' signature' \| 'qrcode '> ` | ✅ | Field Data Type |
1313| ** description** | ` string ` | optional | Tooltip/Help text |
1414| ** format** | ` string ` | optional | Format string (e.g. email, phone) |
1515| ** required** | ` boolean ` | optional | Is required |
@@ -42,6 +42,13 @@ description: Field Schema Reference
4242| ** colorFormat** | ` Enum<'hex' \| 'rgb' \| 'rgba' \| 'hsl'> ` | optional | Color value format |
4343| ** allowAlpha** | ` boolean ` | optional | Allow transparency/alpha channel |
4444| ** presetColors** | ` string[] ` | optional | Preset color options |
45+ | ** step** | ` number ` | optional | Step increment for slider (default: 1) |
46+ | ** showValue** | ` boolean ` | optional | Display current value on slider |
47+ | ** marks** | ` Record<string, string> ` | optional | Custom marks/labels at specific values (e.g., ` {0: "Low", 50: "Medium", 100: "High"} ` ) |
48+ | ** barcodeFormat** | ` Enum<'qr' \| 'ean13' \| 'ean8' \| 'code128' \| 'code39' \| 'upca' \| 'upce'> ` | optional | Barcode format type |
49+ | ** qrErrorCorrection** | ` Enum<'L' \| 'M' \| 'Q' \| 'H'> ` | optional | QR code error correction level (L=7%, M=15%, Q=25%, H=30%) |
50+ | ** displayValue** | ` boolean ` | optional | Display human-readable value below barcode/QR code |
51+ | ** allowScanning** | ` boolean ` | optional | Enable camera scanning for barcode/QR code input |
4552| ** hidden** | ` boolean ` | optional | Hidden from default UI |
4653| ** readonly** | ` boolean ` | optional | Read-only in UI |
4754| ** encryption** | ` boolean ` | optional | Encrypt at rest |
0 commit comments