Hello,
I have the following behavior that doesn't seem to be correct.
Using a RadzenDatePicker and a button that will change valueFrom.
- Select a date with the cursor
- Press the button that changes the dates
- The new date is selected
- But the date selected with the cursor still has the class rz-state-focused
Blockquote
<RadzenButton Text="#2 days" Click=@(() => SelectTimeRange(2)) />
@code
{
private DateTime? valueFrom = DateTime.Now;
private DateTime? valueTo = DateTime.Now;
private async Task SelectTimeRange(double days)
{
valueTo = DateTime.Now;
valueFrom = valueTo.Value.AddDays(-days);
await InvokeAsync(StateHasChanged);
}
}
Blockquote
Tested with version 5.6.7. Bug is reproducible all the time.
Greetings