Skip to content

ContentDialog Input not working for TextBox #3804

@JanRajnoha

Description

@JanRajnoha

Describe the bug
I tried create ContentDialog with input like TextBox or PasswordBox, but text input is not working. CheckBox (like in sample gallery) is okay. Shortcuts are okay and deleting chars (backspace or delete) is okay too. Content of ContentDialog is created as User Control (from WinUI 3) and testing it as Control in page is its behavior ok too. Is this behavior intentional?

Steps to reproduce the bug
ContentDialog with TextBox (or PasswordBox).

Actual behavior
Input from keyboard not working, Ctrl+V is okay, backspace is okay too.

Version Info

  • Tested sample from WinUI 3 branch sample gallery.

Sample gallery version: 1.2.16.0

Windows 10 version: 20211
Settings of project

  • Min. version: 17763
  • Target version: 18362

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Dialogsarea-IslandsXaml Islands featureneeds-winui-3Indicates that feature can only be done in WinUI 3.0 or beyond. (needs winui 3)team-ControlsIssue for the Controls team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions