From 99bf8689026038db39ba132659ef0297e363b02c Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Thu, 27 May 2021 17:01:43 +0200 Subject: [PATCH] add missing state init --- src/widget/edit-widget/edit-widget-checkbox-control.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widget/edit-widget/edit-widget-checkbox-control.js b/src/widget/edit-widget/edit-widget-checkbox-control.js index 9ea51c4..1e589d6 100644 --- a/src/widget/edit-widget/edit-widget-checkbox-control.js +++ b/src/widget/edit-widget/edit-widget-checkbox-control.js @@ -21,6 +21,9 @@ import { Form } from 'react-bootstrap'; class EditWidgetCheckboxControl extends React.Component { constructor(props) { super(props); + this.state = { + isChecked: false, + } } static getDerivedStateFromProps(props, state) {