From b8da989fc343a3c8f3b25b5b2fecf2896f8f9c8d Mon Sep 17 00:00:00 2001 From: Meena Brend Date: Wed, 17 Aug 2022 11:49:07 +0100 Subject: [PATCH] fix: add default value for Collapsible --- lib/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/index.js b/lib/index.js index e59b4e5..b12b96a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -41,6 +41,9 @@ module.exports = async function extractDefaults (cardscript) { } break case 'Collapsible': + if (element.id) { + applyDefaultValue(defaultValues, defaultValue === true, apiLookupPath, cardListPath, element.id) + } element.card.body.forEach(parseElement) break case 'Input.ApiLookup': {