Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Sep 25, 2023
1 parent f336d78 commit 6b22cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Fields/Fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function field(string $field, string $label, string $modelAttribute = nul
{
$instance = new $field($this->form, $label, $modelAttribute, ...$params);

$this->register($field);
$this->register($instance);

return $instance;
}
Expand Down

0 comments on commit 6b22cba

Please sign in to comment.