ECheckBoxGroup Checkbox group
Examples
Checkbox group
Select up to two
Properties
buttonStyleboolUse button-style options.
falseenabledboolAllow interaction; false disables the control.
trueheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeightmaxintMaximum selected options.
0: unlimited
Positive number: limit
0minintMinimum number of selected options.
0optionDelegateComponentComponent slot for custom option; null uses the default content. See this page’s examples for delegate context.
nulloptionsvarOption array; props maps custom field names.
Strings, or object fields:
label, value, disabled
[]propsvarMapping of data field names.
label, value, disabled
({value: "value", label: "label", disabled: "disabled"})sizeintControl size; inherits the nearest EConfigProvider by default.
EStyle.SmallEStyle.MediumEStyle.Large
Inherited; EStyle.Medium by defaultvalidateEventboolRequest enclosing-form validation when the value changes.
truevaluevarCurrent value; read or write through property bindings, with arrays for multiple or range selection.
[]visibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidtheffectiveOptionsvarRead onlyOptions after field mapping.
Computed at runtimeSignals
changed(var value)Emitted when the selection changes; value is the new value.
Methods
toggle(key, selected)Toggle the expanded or selected state; pass the target identifier when required.