We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b9ae2a commit c1835adCopy full SHA for c1835ad
src/components/CippStandards/CippStandardAccordion.jsx
@@ -92,7 +92,7 @@ const CippStandardAccordion = ({
92
93
const addedComponentsFilled =
94
standard.addedComponent?.every((component) => {
95
- const isRequired = component.required !== false;
+ const isRequired = component.required !== false && component.type !== "switch";
96
if (!isRequired) return true;
97
return !!_.get(watchedValues, `${standardName}.${component.name}`);
98
}) ?? true;
0 commit comments