It is becoming even stranger. I added another slider and a click on the first one changes the second one.
<RadzenSlider Range="true" Min="@minim1" Max="@maxim1" @bind-Value=@minMax1 TValue="IEnumerable<double>" />
<br />
<RadzenButton Text="Update" Click="UpdateSlider"></RadzenButton>
<RadzenSlider Range="true" Min="@minim" Max="@maxim" Value=@minMax TValue="IEnumerable<double>" />
@code{
decimal minim1 = 0m;
decimal maxim1 = 100m;
IEnumerable<double> minMax1 = new double[2] { 25d, 55d };
decimal minim = 0m;
decimal maxim = 100m;
IEnumerable<double> minMax = new double[2] { 25d, 55d };
private void UpdateSlider()
{
minim = 10m;
maxim = 80m;
minMax = new double[2] { 50d, 75d };
} }
If you move the handles of the lower one first and afterwards the handles of the upper one, the handles of the lower one "jump" back to their original position.
How can I avoid this?
Thanks again.