-
Notifications
You must be signed in to change notification settings - Fork 3.5k
NumericUpDown value going out of async with bound value #3785
Copy link
Copy link
Closed
Labels
bugevaluation requiredItems is pending review or evaluation by the teamItems is pending review or evaluation by the team
Description
Bug explanation
as described in #3781 there is a problem where the Value of the Numeric-/DecimalUpDown control can go out of sync with the bound property in a viewmodel.
Steps to reproduce:
- Set the
Maximumof the UpDown control to any value - Set the
Valueequal to theMaximum - Enter a new
Valuegreater than theMaximum
I will later try and add a failing test for this.
Edit
@Keboo I created a branch (fixNumUpDownCoerceToMax)) which is trying to reproduce the bug, however I can't get it to work. Whenever I call any method on the numericUpDown control the test is crashing.
I'm not too familiar with your XamlTest Library, it could be that I have set up something wrong.
The problem starts in NumericUpDownTests.cs line 179. It would be great if you had a look at this😊
Version
current main branch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugevaluation requiredItems is pending review or evaluation by the teamItems is pending review or evaluation by the team
