lepoco / lepoco/wpfui

Can clear content when TextBox's IsReadOnly=true

Open
#577 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Can clear content by click ClearButton when TextBox's IsReadOnly=true.

To Reproduce

Null.

Expected behavior

Can't clear content by click ClearButton when TextBox's IsReadOnly=true.
Or don't display ClearButton when TextBox's IsReadOnly=true even ShowClearButton=true

Screenshots

No response

OS version

11

.NET version

6

WPF-UI NuGet version

2

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the WPF TextBox behavior described with IsReadOnly=true and ShowClearButton=true. Trace how the ClearButton is displayed and how clicking it clears content, then verify that read-only text cannot be cleared or that the button is hidden. The issue names no files or tests, so locating the relevant control implementation and test coverage will require repository research.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.