Skip to content

Commit ac1eaf7

Browse files
$'syncing commit from monorepo. PR: 358, Title: Revert FIO-10445 component inside hidden layout component do not clear data' (#6205)
Co-authored-by: brendanbond <[email protected]>
1 parent 29939fc commit ac1eaf7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/_classes/nested/NestedComponent.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,9 @@ export default class NestedComponent extends Field {
935935
}
936936

937937
setValue(value, flags = {}) {
938+
if (!value) {
939+
return false;
940+
}
938941
// If the value is equal to the empty value, then this means we need to reset the values.
939942
if (_.isEqual(value, this.emptyValue)) {
940943
// TO-DO: For a future major release, we need to investigate removing the need for the

0 commit comments

Comments
 (0)