Skip to content

Commit

Permalink
Merge branch 'major-refactor' into wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni authored May 8, 2024
2 parents b2284ac + 56b523c commit 6cc286e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Livewire/Concerns/WithFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ protected function makeFieldFromModel(StatamicField $field): Field
: throw new \Exception("The field model binding for fieldtype [{$fieldtype}] cannot be found.");
}

#[Computed]
public function honeypot(): Honeypot
{
return $this->fields->whereInstanceOf(Honeypot::class)->first();
Expand Down
2 changes: 1 addition & 1 deletion src/Livewire/Synthesizers/FieldSynth.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ public function get(&$target, $key)

public function set(&$target, $key, $value)
{
$target->get($key)->value($value);
$target->value($value);
}
}

0 comments on commit 6cc286e

Please sign in to comment.