diff --git a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx index a9f00dee8..b726f882d 100644 --- a/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx +++ b/src/designer/elsa-workflows-studio/src/components/editors/properties/elsa-check-list-property/elsa-check-list-property.tsx @@ -53,10 +53,10 @@ export class ElsaCheckListProperty {
{options.map((option, index) => { const inputId = `${fieldId}_${index}`; - const isSelected = values.findIndex(x => x == option) >= 0; const optionIsString = typeof(option) == 'string'; const value = optionIsString ? option : option.value; const text = optionIsString ? option : option.text; + const isSelected = values.findIndex(x => x == value) >= 0; return (