Skip to content

1.17.4 - #72

Merged
ONyklicek merged 4 commits into
1.xfrom
1.17.4
Aug 31, 2026
Merged

1.17.4#72
ONyklicek merged 4 commits into
1.xfrom
1.17.4

Conversation

@ONyklicek

Copy link
Copy Markdown
Owner

No description provided.

A prefill closure that reads an enum-cast attribute handed the case object
into the modal's form-data bag, and the host writes that bag straight into
Livewire state — the one seeding path that never passes through the form
runtime, where StateManager::fill() has collapsed enums all along. The field's
own render then handed it to Select::getOptionLabel(string|int|null) and PHP
fataled; even surviving that, a <select> matches its options against the
scalar key, so nothing would have been selected.

getFormDefaults() now runs the whole bag through EnumResolver::scalarDeep(),
nested rows included, and Select::getSelectedOptionLabels() normalises its own
mixed input for hosts that write the bag themselves.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@ONyklicek
ONyklicek merged commit 8120e3c into 1.x Aug 31, 2026
18 of 19 checks passed
@ONyklicek
ONyklicek deleted the 1.17.4 branch August 31, 2026 19:42
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