From 94a25934babbd7ef1fac803ef059a02be3e36e49 Mon Sep 17 00:00:00 2001
From: Bob Zeleznik <zzzman@gmail.com>
Date: Tue, 28 Apr 2020 00:14:21 -0400
Subject: from last

---
 src/client/util/DashFieldView.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/client/util/DashFieldView.tsx')

diff --git a/src/client/util/DashFieldView.tsx b/src/client/util/DashFieldView.tsx
index d76e9d1ec..cf09e0132 100644
--- a/src/client/util/DashFieldView.tsx
+++ b/src/client/util/DashFieldView.tsx
@@ -89,11 +89,11 @@ export class DashFieldViewInternal extends React.Component<IDashFieldViewInterna
             const boolVal = Cast(fval, "boolean", null);
             const strVal = Field.toString(fval as Field) || "";
 
-            // field value is a boolean, so use a checkbox of similar widget to display it
+            // field value is a boolean, so use a checkbox or similar widget to display it
             if (boolVal === true || boolVal === false) {
                 return <input
                     className="dashFieldView-fieldCheck"
-                    type="checkbox"
+                    type="checkbox" checked={boolVal}
                     onChange={e => this._dashDoc![this._fieldKey] = e.target.checked}
                 />;
             }
-- 
cgit v1.2.3-70-g09d2

