Skip to content

Fix RuleActions drag and drop by passing onChange prop#2941

Merged
markus-moser merged 3 commits into1.xfrom
fix/rule-actions-dnd-onChange
Feb 12, 2026
Merged

Fix RuleActions drag and drop by passing onChange prop#2941
markus-moser merged 3 commits into1.xfrom
fix/rule-actions-dnd-onChange

Conversation

@markus-moser
Copy link
Contributor

@markus-moser markus-moser commented Feb 12, 2026

Fixes drag and drop reordering of rule actions not persisting.

The RuleActions component was not passing the onChange prop to RuleItemList, causing the reordered state to not be saved to the form.

The RuleActions component was not passing the onChange prop to RuleItemList,
causing drag and drop reordering to not persist. The handleDragEnd function
in RuleItemList was correctly calling onChange but it was never wired through
from RuleActions to the form field.
@markus-moser markus-moser added this to the next milestone Feb 12, 2026
@sonarqubecloud
Copy link

@markus-moser markus-moser merged commit 92194c5 into 1.x Feb 12, 2026
1 check passed
@markus-moser markus-moser deleted the fix/rule-actions-dnd-onChange branch February 12, 2026 17:40
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant