Exception is thrown when writing more characters than the available in TextBox
#19591
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
In Skia WPF, when writing more characters than the specified in the
MaxLength
property from theTextBox
throws an exception of typeArgumentOutOfRangeException
.Expected behavior
Exception should not be thrown when trying to write more characters than the allowed in the
TextBox
.How to reproduce it (as minimally and precisely as possible)
TextBox
.Workaround
No known workaround.
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
NuGet package(s): Uno.WinUI
NuGet package version(s): Uno.WinUI 5.5.94
Affected platforms
Skia (WPF)
IDE
Visual Studio 2022
IDE version
17.13.0
Relevant plugins
No response
Anything else we need to know?
TextBoxMaxLength.zip
The text was updated successfully, but these errors were encountered: