Toloka documentation

field.checkbox-group

Adds a group of checkboxes for selecting independent answer options. This is useful if there are several options. You can add just one checkbox, but it's easier to use field.checkbox for that.

Component properties

Name

Type

Description

type*

"field.checkbox-group"

Set component type

data*

writable

Data with values that will be processed or changed.

label

string

Label above the component.

disabled

boolean

If `true', the options are inactive.

hint

string

Hint text.

options*

array

An array of checkboxes, wherevalueis the value to change, andlabelis the text near the checkbox.

options[]

object

A checkbox.

options[].hint

string

Text with additional information about the option.

options[].label*

string

Text next to the option.

options[].value*

string

Returned value.

preserveFalse

boolean

Property that specifies whether to returnfalsevalues in the results. By default, if the component returnsfalse, this result will not be added to the output. To addfalseto the results, specify"preserveFalse": true.

validation

condition

Validation based on condition.