Skip to content

[6.x] Connect element editor reactive layout refreshes - #19769

Merged
riasvdv merged 2 commits into
6.xfrom
extract/19665-element-editor-refresh-retry
Oct 1, 2026
Merged

riasvdv merged 2 commits into
6.xfrom
extract/19665-element-editor-refresh-retry

Conversation

@riasvdv

@riasvdv riasvdv commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Description

Reactive controls in element editors now request server field-layout refreshes through refreshLayout. Root-scope responses update the root payload; nested-scope responses reconcile through the requesting renderer without replacing the root layout. Existing cancellation, baseline handling, nested-change refresh, and request context are preserved.

FormRenderer → refreshLayout → refreshForm
  root scope: update savedForm
  nested scope: return payload for scoped reconciliation

Extracted from #19665, anchor cc7b6f8. Includes the composable helper and renderer wiring together.

riasvdv and others added 2 commits October 1, 2026 10:09
Co-authored-by: Nathaniel Hammond <nathaniel@pixelandtonic.com>
Co-authored-by: Nathaniel Hammond <nathaniel@pixelandtonic.com>
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

📚 Storybook previews

@craftcms/ui — open Storybook

No changed components detected in this Storybook.

resources/js — open Storybook

No changed components detected in this Storybook.

@riasvdv
riasvdv merged commit e5f47b0 into 6.x Oct 1, 2026
23 checks passed
@riasvdv
riasvdv deleted the extract/19665-element-editor-refresh-retry branch October 1, 2026 08:23
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