-
Notifications
You must be signed in to change notification settings - Fork 802
Open
Labels
Description
Describe the bug
The RatingControl's PlaceholderValue is inconsistent:
| PlaceholderValue | Placeholder |
|---|---|
| 1.5 | Renders 1.5 star as expected |
| 1 | Renders 1 star as expected |
| 0.5 | Renders 1 star instead of 0.5 star |
| 0 | Renders 1 star instead of 0 star |
| -0.5 | Renders 0 star (as expected?) |
| -1 | Renders 0 star (as expected?) |
Steps to reproduce the bug
Create a plain WinUI app project and add the following code:
<RatingControl PlaceholderValue="1.5" />
<RatingControl PlaceholderValue="1" />
<RatingControl PlaceholderValue="0.5" />
<RatingControl PlaceholderValue="0" />
<RatingControl PlaceholderValue="-0.5" />
<RatingControl PlaceholderValue="-1" />Expected behavior
| PlaceholderValue | Behavior |
|---|---|
| 1.5 | Renders 1.5 star |
| 1 | Renders 1 star |
| 0.5 | Renders 0.5 star |
| 0 | Renders 0 star |
| -0.5 | Renders 0 star? |
| -1 | Renders 0 star? |
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.5: 1.6.250205002
Windows version
Windows 11 (23H2): Build 22631
Additional context
No response
Reactions are currently unavailable
