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': {