# Data Binding

The [datamap](https://docs.wirebootstrap.com/wirebootstrap/working-with-components/configuration/data#datamap) for the iCheck List for WireBootstrap component is listed below.  The component expects these field names in its `data` configuration.

## Properties

| Name     | Description                                                                            |
| -------- | -------------------------------------------------------------------------------------- |
| value    | The field in the data to be used as the unique value for list item in the filter       |
| label    | The field in the data to be used as the display label for each list item in the filter |
| selected | Optional. The field in the data to determine which item should be selected             |

```javascript
const users = [
    { value: "bsimmons", label: "Ben Simmons", selected: false },
    { value: "jembiid", label: "Joel Embiid", selected: true}
]

const filter = new wire.icheckFilter().render("#filter", {
    data: users
});
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wirebootstrap.com/pro-pack/icheck/filter/data-binding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
