Skip to main content

Check Box

A Check Box or a selection box is a small interactive box toggled by the user to indicate an affirmative choice. It is used to select multiple options from several options.

Example

A8Studio

API Methods

setData

Sets the data in the particular array of objects.

setData(data: checkBoxData[]): void

setLabel

Sets the label of the checkbox.

setLabel(label: string): void

setReadOnly

Sets the ReadOnly flag for this context. When in ReadOnly the user cannot be able to edit the content.

setReadOnly(readOnly: boolean): void

setRequired

Sets a field to be required or not.

setRequired(required: boolean): void

setSize

Sets the size only using the parameters passed in.

setSize(size: "small" | "medium" | "large"): void

setVisibility

Sets the elements of the given category to visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition

setVisibilityCondition(condition: string): void