8000 fixed section visibility set automatically to visible in the builder · laravel-enso/forms@84624b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 84624b4

Browse files
committed
fixed section visibility set automatically to visible in the builder
1 parent 58bda9c commit 84624b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private function values(): self
3737
}
3838

3939
$this->template->get('sections')
40-
->each(fn ($section) => $section->set('hidden', false)
40+
->each(fn ($section) => $section->set('hidden', $section->get('hidden', false))
4141
->get('fields')->each(fn ($field) => $field
4242
->set('value', $this->value($field))));
4343

0 commit comments

Comments
 (0)
0