Unexpected behaviour of RadzenDatePicker

Hello,

I am experiencing unexpected behaviour with the RadzenDatePicker. The issue can also be reproduced in your demo.

Steps to reproduce:

  1. In a FormField, click the calendar icon of the RadzenDatePicker.

  2. Change only the time.

  3. Click somewhere else without clicking the OK button.

Result:

  • The time is updated in the RadzenDatePicker UI.

  • However, the Change event is not triggered, so the bound value still contains the old value.

  • The UI therefore shows a different value than the bound model.

  • If you then change another control (for example a dropdown), the time in the UI reverts to the previous value.

Expected behaviour:

Either:

  • the bound value should update, or

  • the UI should not update until the OK button is confirmed.

Is this a bug or intended behaviour?
Is there any recommended workaround?

Thank you for your time.

Thanks! We improved this and our fix will be part of next update early next week.

1 Like