Skip to content

Bug - Label: canceling an inline edit with Escape keeps the discarded draft text #12648

Description

@fallmo

Describe the problem

Pressing Escape while editing a label reverts the displayed text to the original children, but does not reset the component's internal currValue state that backs the edit input. Reopening the editor shows the draft text that was supposedly discarded.

Expected behavior
Escape should discard the draft completely. Reopening the editor should show the original children text, matching what the label displays.

Screenshots

Screen.Recording.2026-09-12.at.5.28.54.PM.mov

Jira Issue: PF-4631

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions