Skip to content

Add Enter key support to StudioToggleableTextfield #14454

Closed as not planned
Closed as not planned
@coderabbitai

Description

@coderabbitai

Current Behavior

When using the StudioToggleableTextfield component, pressing the Enter key does not save the changes and unfocus the field.

Expected Behavior

The component should save the changes and unfocus (exit edit mode) when the user presses the Enter key, similar to how most text input fields behave.

Context

This improvement would enhance the user experience by providing a more intuitive way to complete text editing.
Identified in PR discussion: #14400

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Documentation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions