You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MaskedBehavior removes all masked characters that exceed the length of the masked input string.
This means the mask E 000° 00' 00" with unmasked character 0 and the value 180 00 00 will be rendered as E 180° 00' 00 without the last quote character.
Expected Behavior
The trailing format characters should be drawn in the entry.
Steps To Reproduce
Open and run solution from linked reproducible repository.
Enter 1200000 without spaces
Further: try adding the last quote character after 1200000
- .NET MAUI CommunityToolkit: 11.0.0
- OS: Microsoft Windows 10 Home (10.0.19045 Build 19045)
- .NET MAUI: 9.0.30
Anything else?
Without having done any debugging I feel like the condition on line 180 in MaskedBehavior.shared.cs is suspicious.
My understanding from reading the code is that the formatting will be applied until maximum text length is reached.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
MaskedBehavior removes all masked characters that exceed the length of the masked input string.
This means the mask
E 000° 00' 00"
with unmasked character0
and the value180 00 00
will be rendered asE 180° 00' 00
without the last quote character.Expected Behavior
The trailing format characters should be drawn in the entry.
Steps To Reproduce
Further: try adding the last quote character after 1200000
Link to public reproduction project repository
https://github.com/gabrieltigerstrom/MCT-masked-behavior-reproducible
Environment
Anything else?
Without having done any debugging I feel like the condition on line 180 in MaskedBehavior.shared.cs is suspicious.
My understanding from reading the code is that the formatting will be applied until maximum text length is reached.
The text was updated successfully, but these errors were encountered: