Skip to content

Contentbrowser initial selection [5.6.x] - #1653

Open
petschki wants to merge 2 commits into
5.6.xfrom
contentbrowser-initial-selection--5.6.x
Open

petschki wants to merge 2 commits into
5.6.xfrom
contentbrowser-initial-selection--5.6.x

Conversation

@petschki

Copy link
Copy Markdown
Member

see #1641

petschki and others added 2 commits September 18, 2026 10:39
svelte-jester refuses to run in Jest's CJS mode, so any test that mounts
a .svelte component fails on this branch. Use the custom transformer from
master instead: compile with the svelte compiler and convert the emitted
ESM to CommonJS for Jest's default runtime. Needed to backport the
pat-contentbrowser tests.
…l selection

The selected-items effect wrote the initial value back to the input on mount
and dispatched a change event for it, so pat-formunloadalert marked every
untouched form with a content browser field as edited and warned when
leaving the page.

Only write and dispatch when the value actually differs.

(cherry picked from commit 2ae9d77)

This branch has not been deployed

No deployments
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.

2 participants