Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Oct 27, 2024
1 parent b1ff59b commit ebadd73
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Classes/CheckoutForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ class CheckoutForm extends Form
{
public function __construct(
public ?array $config = [],
) {
$this->fields = $config['fields'] ?? [];
}
) {}

public function initialize()
{
$this->fillFromConfig([
'fields',
'model',
]);

$this->defineFormFields();
}

Expand Down

0 comments on commit ebadd73

Please sign in to comment.