From 49147d0c6a7f9e143dfbc76561226544c7511efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 11 Feb 2022 10:20:00 +0300 Subject: [PATCH] type fix --- api-generator/components/checkbox.js | 4 ++-- api-generator/components/inputswitch.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api-generator/components/checkbox.js b/api-generator/components/checkbox.js index d28a4e59a..d98987487 100644 --- a/api-generator/components/checkbox.js +++ b/api-generator/components/checkbox.js @@ -32,13 +32,13 @@ const CheckboxProps = [ { name: "trueValue", type: "any", - default: "true", + default: "null", description: "Value in checked state." }, { name: "falseValue", type: "any", - default: "true", + default: "null", description: "Value in unchecked state." } ]; diff --git a/api-generator/components/inputswitch.js b/api-generator/components/inputswitch.js index 704ef145f..b05d8b32d 100644 --- a/api-generator/components/inputswitch.js +++ b/api-generator/components/inputswitch.js @@ -20,13 +20,13 @@ const InputSwitchProps = [ { name: "trueValue", type: "any", - default: "true", + default: "null", description: "Value in checked state." }, { name: "falseValue", type: "any", - default: "true", + default: "null", description: "Value in unchecked state." } ];