Skip to content

Commit c86bd3b

Browse files
committed
addressed reviews
- fixed wrong property
1 parent 32c4e2f commit c86bd3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public function tabVisibility($tabs, bool $hidden): self
236236

237237
$this->template->get('sections')->each(fn ($section) => $tabs->when(
238238
$tabs->contains($section->get('tab')),
239-
fn () => $section->put('visiblity', $hidden)));
239+
fn () => $section->put('hidden', $hidden)));
240240

241241
return $this;
242242
}

0 commit comments

Comments
 (0)