From 05397b1a7334bb2df0d3ccbf030f2406e5b37195 Mon Sep 17 00:00:00 2001 From: Collins Muriuki Date: Tue, 11 Jun 2024 08:47:31 +0300 Subject: [PATCH] set default and initial values for boolean inputs to false --- templates/react/field-types/bool/default.hbs | 2 +- templates/react/field-types/bool/sample.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/react/field-types/bool/default.hbs b/templates/react/field-types/bool/default.hbs index f411730da..51b676e7a 100644 --- a/templates/react/field-types/bool/default.hbs +++ b/templates/react/field-types/bool/default.hbs @@ -1 +1 @@ -{{#if (eq cardinality "vector")}}[]{{else}}true{{/if}} \ No newline at end of file +{{#if (eq cardinality "vector")}}[]{{else}}false{{/if}} \ No newline at end of file diff --git a/templates/react/field-types/bool/sample.hbs b/templates/react/field-types/bool/sample.hbs index 27ba77dda..c508d5366 100644 --- a/templates/react/field-types/bool/sample.hbs +++ b/templates/react/field-types/bool/sample.hbs @@ -1 +1 @@ -true +false