Toloka documentation


toloka.client.project.template_builder.fields.CheckboxFieldV1 | Source code

    data: Optional[BaseComponent] = None,
    disabled: Optional[Union[BaseComponent, bool]] = None,
    preserve_false: Optional[Union[BaseComponent, bool]] = None,
    hint: Optional[Any] = None,
    label: Optional[Any] = None,
    validation: Optional[BaseComponent] = None,
    version: Optional[str] = '1.0.0'


Parameters Description

Parameters Type Description
data Optional[BaseComponent]

Data with values that will be processed or changed.

disabled Optional[Union[BaseComponent, bool]]

Property that disables the component. If true, the component will not be unavailable.

preserve_false Optional[Union[BaseComponent, bool]]

Property that specifies whether to return false values in the results. By default, if the component returns false, this result will not be added to the output. To add false to the results, specify "preserveFalse": true.

hint Optional[Any]

Hint text.

label Optional[Any]

Label above the component.

validation Optional[BaseComponent]

Validation based on condition.