isComboboxItemSelected

Function

To be used with combobox items; determines if a given combobox item is selected

  • isComboboxItemSelected(node: IUiSchemaComboboxItem, values: string[], selectionMode: string) : boolean

Parameters

Parameter Type Default Notes
node Required IUiSchemaComboboxItem

the combo box item (to possible check)

values Required string[]

the selected values in the greater combobox options

selectionMode Required string

the selection mode of the combobox (this determines if children's selection status determines the parent's selection status)

Returns

whether or not the combo box item is selected

boolean

Function defined in common/src/utils/isComboboxItemSelected.ts:10