DatePicker: OnChange Not Working

I am using version 18.1.43

1 Reply

PM Ponmani Murugaiyan Syncfusion Team April 14, 2020 07:46 AM UTC

Hi Andrey, 
 
Greetings from Syncfusion support. 
 
We have validated your reported query. In the updated version the event name change is replaced by valueChange. We have prepared sample with valueChange event. Please find the code snippet, test sample and documentation below for reference. 
 
[Index.razor] 
 
@using Syncfusion.Blazor.Calendars 
 
<SfDatePicker TValue="DateTime?"> 
    <DatePickerEvents TValue="DateTime?" ValueChange="ValueChangeHandler"></DatePickerEvents> 
</SfDatePicker> 
@code{ 
 
    public void ValueChangeHandler(ChangedEventArgs<DateTime?> args) 
    { 
        // Here you can customize your code 
    } 
} 
 
 
 
 
Kindly check with the provided sample. If you need further assistances please get back us. We will assists you further. 
 
Regards, 
Ponmani M 


Loader.
Up arrow icon