Skip to main content

BwCheckboxGroup | bw-checkbox-group

Overview​

Checkbox groups are form controls that contain a list of BwCheckboxOption's.

Properties​

PropertyAttributeDescriptionTypeDefault
errorerrorShows an error icon. If a string is passed in, it will render the icon as a tooltip. Has no effect on form validationanyundefined
horizontalhorizontalCheckboxes will be aligned horizontallybooleanfalse
labellabelLabel that shows above the controlsstringundefined
notenoteInformative text that shows below the controlstringundefined
originalValueoriginal-valueThe value the control will reset to. Defaults to the initial value if not set.anyundefined
pendingpendingShows a loading indicatorbooleanfalse
requiredrequiredMakes the element required in forms and will show an error on submissionbooleanfalse
successsuccessShows a success icon. Has no effect on form validationbooleanfalse
value--The currently selected valueany[][]

Events​

EventDescriptionType
valueChangeEmits the selected value whenever it changesCustomEvent<any>

Methods​

checkValidity() => Promise<boolean>​

Checks the validity of the checkbox group

Returns​

Type: Promise<boolean>

getCustomError() => Promise<string>​

Gets the custom validity message for the checkbox group

Returns​

Type: Promise<string>

reportValidity() => Promise<boolean>​

Reports the validity of the checkbox group

Returns​

Type: Promise<boolean>

setCustomValidity(message: string | null) => Promise<void>​

Sets a custom validity message for the checkbox group

Parameters​

NameTypeDescription
messagestring

Returns​

Type: Promise<void>

Slots​

SlotDescription
The content of the checkbox group
"label"The label of the checkbox group
"note"The note of the checkbox group

Shadow Parts​

PartDescription
"horizontal-container"The horizontal container of the checkbox group
"status"The status container of the checkbox group

Dependencies​

Depends on​

Graph​


© 2026 United Systems & Software - All Rights Reserved.