forked from github-starred/komodo
fix: prevent custom registry org input from deselecting #1
Reference in New Issue
Block a user
Delete Branch "fix-issue-1094"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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