mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
33 lines
1.2 KiB
1 year ago
|
---
|
||
|
title: 'Checkbox'
|
||
12 months ago
|
description: 'This article explains how to create & work with a Checkbox field.'
|
||
12 months ago
|
tags: ['Fields', 'Field types', 'Custom types', 'Checkbox']
|
||
12 months ago
|
keywords: ['Fields', 'Field types', 'Custom types', 'Checkbox', 'Create checkbox field']
|
||
1 year ago
|
---
|
||
12 months ago
|
|
||
1 year ago
|
|
||
1 year ago
|
The checkbox field type is used to store boolean values. It can be used to store a simple yes/no value, or true/false, or any other boolean value.
|
||
|
|
||
|
## Create a checkbox field
|
||
|
1. Click on `+` icon to the right of `Fields header`
|
||
12 months ago
|
2. On the dropdown modal, enter the field name (Optional).
|
||
1 year ago
|
3. Select the field type as `Checkbox` from the dropdown.
|
||
12 months ago
|
4. Select icon for the field; defaults to `check` icon (Optional).
|
||
|
5. Select color for the field; defaults to `grey` (Optional).
|
||
|
6. Set default value for the field (Optional).
|
||
11 months ago
|
7. Click on `Save Field` button.
|
||
1 year ago
|
|
||
11 months ago
|
![image](/img/v2/fields/types/checkbox.png)
|
||
1 year ago
|
|
||
|
### Cell display
|
||
|
Cell displays the icon in the color selected for the field. A true value will be represented by a checked icon or a filled icon
|
||
|
![image](/img/v2/fields/attachment-cell-display.png)
|
||
|
|
||
|
### Supported icons
|
||
|
NocoDB supports the following icons for the checkbox field type.
|
||
|
![image](/img/v2/fields/checkbox-icon.png)
|
||
|
|
||
|
## Related fields
|
||
|
- [Rating](030.rating.md)
|
||
|
|