Skip to content

1.0.0.1#3

Merged
ONyklicek merged 32 commits into
1.0.xfrom
1.0.0.1
May 29, 2026
Merged

1.0.0.1#3
ONyklicek merged 32 commits into
1.0.xfrom
1.0.0.1

Conversation

@ONyklicek
Copy link
Copy Markdown
Owner

No description provided.

@ONyklicek ONyklicek merged commit d5e348f into 1.0.x May 29, 2026
24 checks passed
@ONyklicek ONyklicek deleted the 1.0.0.1 branch May 29, 2026 09:44
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6e16715ce3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// Update mode
if ($model instanceof Model) {
$model->update($data);
$dehydrator->dehydrate($data, $model);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Strip relationship repeater data before saving parent

When a form includes Repeater::make('children')->relationship('children'), the validated $data still contains the children array here, so dehydrate() sets it as a normal attribute on the parent and save() tries to persist a non-existent children column before RelationshipSaveHandler can sync the has-many rows. This makes relationship-backed repeaters fail on the parent save; remove relationship repeater keys from the parent payload before dehydrating.

Useful? React with 👍 / 👎.


assert($field instanceof MorphToSelect);

$wireModifier = $field->getWireModelModifier();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Render MorphToSelect without missing field methods

Any MorphToSelect render reaches this call, but MorphToSelect extends Component directly and does not use the CanBeLive/placeholder field traits, so getWireModelModifier() is undefined (and getPlaceholder() later is too). The field therefore throws while rendering instead of showing the selects; either make it inherit the same field behavior as other inputs or avoid calling methods it does not provide.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant