Skip to content

[Port to dtq-dev] stabilize form array reorder/delete behavior#1267

Merged
milanmajchrak merged 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-120-to-dtq-dev
Mar 27, 2026
Merged

[Port to dtq-dev] stabilize form array reorder/delete behavior#1267
milanmajchrak merged 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-120-to-dtq-dev

Conversation

@kosarko
Copy link
Copy Markdown

@kosarko kosarko commented Mar 26, 2026

Port of ufal#120 by @amadulhaxxani to dtq-dev.

The original PR already reviewed by @milanmajchrak

* stabilize form array reorder/delete behavior

synchronize FormArray controls with model on reorder, dedupe patch operations by latest op+path, and fix place handling for index 0 to prevent deleted or duplicate values reappearing after save.

* Document dedupe behavior for json-patch ops

Document dedupe behavior for json-patch ops

* Simplify array index presence check

Simplify array index presence check

(cherry picked from commit b261513)
@milanmajchrak milanmajchrak merged commit 164c424 into dataquest-dev:dtq-dev Mar 27, 2026
4 checks passed
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.

3 participants