DateTimePicker not working

I have a date time picker and it does not seem to be working correctly. If I click on the Up Down calendar controls it just closed, and if I click on the Day of the week it closes but does not update the value. The ValueChange is not firing unless I type in the date and then lose focus on the control.


Attached is an zipped animated gif showing the issue.



Attachment: BlazorDateTimePicket_d4dd378f.zip

1 Reply

DR Deepak Ramakrishnan Syncfusion Team December 17, 2021 05:12 PM UTC

Hi David, 
 
Greetings from Syncfusion support. 
 
We request you to use @bind-value attribute to value to the component if needs to dynamically change the value (As you have binded Value property may problem causing factor at your end) .you can refer the attached documentation for your reference. Also for your information change event will be triggered when typing and focusing out the component. It is intended behavior of the component. 
 
 
 
 
@using Syncfusion.Blazor.Calendars <p>DateTimePicker value is: @DateValue</p>  
<SfDateTimePicker TValue="DateTime?" @bind-Value="@DateValue"></SfDateTimePicker>  
@code { public DateTime? DateValue { get; set; } = DateTime.Now; } 
 
 
 
Kindly revert us with use case if you needs to do any process for every time the user types. 
 
 
Thanks, 
Deepak R. 
 
 
 
  
 
 


Loader.
Up arrow icon