Skip to content

fix: preselect Email activity type in edit form#699

Merged
RussH merged 1 commit intoopencats:masterfrom
anonymoususer72041:fix/activity-edit-email-type
Mar 6, 2026
Merged

fix: preselect Email activity type in edit form#699
RussH merged 1 commit intoopencats:masterfrom
anonymoususer72041:fix/activity-edit-email-type

Conversation

@anonymoususer72041
Copy link
Contributor

When editing an existing activity of type "Email", the edit form could incorrectly preselect the first option ("Call"). This happened because the activity list renders the type as "Email" (from activity_type.short_description), while the edit UI dropdown used the label "E-Mail", causing the preselect matching to fail.

This PR aligns the dropdown label with the stored/rendered value and updates the edit preselection logic accordingly.

@anonymoususer72041 anonymoususer72041 changed the title fix: activity type selection for Email when editing fix: preselect Email activity type in edit form Feb 17, 2026
@RussH RussH force-pushed the fix/activity-edit-email-type branch from f7d6a97 to cef4979 Compare March 6, 2026 16:07
@RussH RussH merged commit 69b0ac0 into opencats:master Mar 6, 2026
3 checks passed
@anonymoususer72041 anonymoususer72041 deleted the fix/activity-edit-email-type branch March 9, 2026 10:31
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