---
title: "edit-boolean"
description: "Overview"
permalink: /docs/build/ui-components/all-ui-components/object-table/column/edit-boolean/
---
# edit-boolean

## Overview

<Info>

To get started, see the introductory [guide](/docs/build/ui-components/all-ui-components/object-table/object-table-guides/edit-cells/) on editable `object-table` cells.

</Info>

This cell contains a checkbox next to a display value. When the checkbox is selected, the `on-change` method fires with the `newValue` representing a JavaScript `true` or `false`.

When a checkbox, without a label, is selected a loader will replace the checkbox while saving, instead of appearing on the right.

<Info>

On mobile **the entire cell area** is used to fire the `on-change` event, for easy accessibility without a mouse cursor.

</Info>

### Basic Example

```xml
<object-table ...>
    <column display="{field}">
        <edit-boolean value="$object.field" on-change="$:valueChanged($object, newValue, oldValue)" />
    </column>
</object-table>
```

## Standard Attributes

### `on-change`

See [`edit-text` > `on-change`](/docs/build/ui-components/all-ui-components/object-table/column/edit-text/#on-change)

### `value`

See [`edit-text` > `value`](/docs/build/ui-components/all-ui-components/object-table/column/edit-text/#value)

## Advanced Attributes

### `disabled`

See [`edit-text` > `disabled`](/docs/build/ui-components/all-ui-components/object-table/column/edit-text/#disabled)
