Can clear content when TextBox's IsReadOnly=true
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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