Skip to content

FIX initializer edit save failures - #2393

Open
hannahwestra25 wants to merge 4 commits into
microsoft:mainfrom
hannahwestra25:hannahwestra25-preserve-edits-on-save-fail
Open

FIX initializer edit save failures#2393
hannahwestra25 wants to merge 4 commits into
microsoft:mainfrom
hannahwestra25:hannahwestra25-preserve-edits-on-save-fail

Conversation

@hannahwestra25

Copy link
Copy Markdown
Contributor

Fixes #2347

Keeps edited initializer values in the dialog when save fails and shows the error inline. Also fixes checkbox label clicks for initializer multiselect parameters.

hannahwestra25 and others added 3 commits August 13, 2026 14:29
- Add externalError prop to InitializerParametersDialog for inline error display
- Make handleSave return boolean (consistent with handleAdd)
- Keep edit dialog open when save returns false (edits preserved)
- Add tests for new behavior

Fixes microsoft#2347

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Track save errors per additional initializer
- Pass save errors into the edit dialog via externalError
- Prevent submit-triggered dialog close requests while save is in progress
- Add tests for inline save errors and preserved edits

Fixes microsoft#2347

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Assign each multiselect checkbox a unique id so label clicks target the correct option
- Add a regression test for clicking checkbox label text

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@hannahwestra25 hannahwestra25 changed the title Fix initializer edit save failures FIX initializer edit save failures Aug 13, 2026
…ve-edits-on-save-fail

# Conflicts:
#	frontend/src/components/Initializers/InitializerParametersDialog.test.tsx
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.

[GUI] Preserve initializer edits when save fails

1 participant