Skip to content

Commit 5a5b3aa

Browse files
committed
fix crash in getBooleanValueFromValue if value is null -> #536
1 parent a8aabe9 commit 5a5b3aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/components/editors/checkbox/UIEditorCheckbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const getBooleanValueFromValue = (value: any, selectedValue: any, dataTyp
7171

7272
if (
7373
dataTypeIdentifier === DataTypeIdentifier.BigDecimal &&
74-
value.toString() === selectedValue.toString()
74+
value?.toString() === selectedValue.toString()
7575
) {
7676
return true;
7777
}

0 commit comments

Comments
 (0)