Skip to content

Text Input Control #61

@mdwigley

Description

@mdwigley

Feature Description

This feature introduces a fully functional text input control that supports keyboard input, text selection, caret management, clipboard operations, and undo/redo functionality. It integrates with the existing rendering and layout framework, allowing intrinsic sizing, dynamic style application, and precise caret placement. The control is designed for developers to provide editable text fields in user interfaces with robust behavior and consistent visual styling.

User Story

As a UI Developer, I want a text input control with selectable text, caret management, and undo/redo functionality so that I can create interactive and editable text fields in the application interface.

Acceptance Criteria

  • The control supports keyboard input for text entry and navigation.
  • The caret and selection are rendered correctly and update dynamically during editing.
  • Undo and redo actions function as expected, including batch input handling.

Feature Tasks

  • Implement the TextInput control with caret, selection, and input handling.
  • Add ITextCaretProperties and TextCaretProperties for styling and configuration.
  • Integrate undo/redo stack and clipboard operations (cut, copy, paste) into the control.

Stakeholders / Reviewers

  • PhotonUI Core Engineering Team
  • UI/UX Developers
  • End Users

Metadata

Metadata

Assignees

Labels

approvedChange issue has been accepted for implementation

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions