Skip to content

Commit

Permalink
Fix Field::isHidden return value
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Feb 22, 2025
1 parent 5477f1b commit 1235812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formwork/src/Fields/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function isVisible(): bool
*/
public function isHidden(): bool
{
return $this->is('visible', false);
return !$this->isVisible();
}

/**
Expand Down

0 comments on commit 1235812

Please sign in to comment.