Boolean
Boolean fields store true/false values for flags and toggles.
View all settings
| Setting | Description |
|---|---|
| Field Name | Text input, required. Unique identifier for the field. |
| Input Type | Dropdown, required. Choose Active/Inactive, Checkbox, Toggle, or Yes/No. |
| Default Value | Dropdown. Select True or False. |
| Display Label | Text input. Human-readable label shown in forms. |
| Sort Order | Number input, defaults to 0. Position in field lists. |
| Icon | Icon picker. Visual identifier. |
| Status | Toggle, defaults to true. Enable or disable the field. |
| Required | Checkbox. Make the field mandatory. |
| Description | Text area. Documents the field's purpose. |
| Form Visibility | Dropdown. Show in Add, Edit, or Both forms. |
| DB Field Name | Text input. Custom database column name. |
| Faker Type | Dropdown. Generate test data. |
| Use as Index | Checkbox. Create database index for performance. |
| Populate from Logged-In User | Checkbox. Auto-fill from user session. |
Input Types
- Active/Inactive — Shows "Active" or "Inactive" labels in the UI
- Checkbox — Standard checkbox input, displays as checked/unchecked
- Toggle — Modern switch UI, ideal for settings and preferences
- Yes/No — Shows "Yes" or "No" labels in the UI
When to Use
Choose Boolean when:
- You need a simple yes/no, true/false, or on/off value
- The field represents a flag, toggle, or status
- There are exactly two possible states
Settings
See Common Settings for shared options.
Not available: Primary Key, Unique
Default Value (Basic Settings)
Dropdown with options True or False. Unlike text fields, Boolean defaults are selected from a dropdown rather than typed.
Use Cases
- Feature flags and toggles (is_active, is_published)
- User preferences and settings
- Status indicators (verified, approved)
- Permission flags (can_edit, is_admin)
Related
- Common Settings — Shared settings reference
- Enum — For more than two states