fix: prevent custom registry org input from deselecting #1

Merged
ninjasurge merged 1 commits from fix-issue-1094 into main 2026-02-11 19:32:25 -06:00
Owner

The ImageRegistryConfig component's key included registry.organization,
which caused React to remount the component on every keystroke when
typing a custom organization name. This destroyed the OrganizationSelector's
internal customMode state, causing the input to deselect after each character.

Using a stable index-based key preserves component identity during edits.

Closes #1094

The ImageRegistryConfig component's key included registry.organization, which caused React to remount the component on every keystroke when typing a custom organization name. This destroyed the OrganizationSelector's internal customMode state, causing the input to deselect after each character. Using a stable index-based key preserves component identity during edits. Closes #1094
ninjasurge added 1 commit 2026-02-11 19:32:19 -06:00
The ImageRegistryConfig component's key included registry.organization,
which caused React to remount the component on every keystroke when
typing a custom organization name. This destroyed the OrganizationSelector's
internal customMode state, causing the input to deselect after each character.

Using a stable index-based key preserves component identity during edits.

Closes #1094
ninjasurge merged commit f7296c73b1 into main 2026-02-11 19:32:25 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ComputerSurge/komodo#1