Hi, I have this problem with DatePicker component, whenever I try to bind to value of DateTime of a type it gives me error
here is my definition :
<td class="text-left"><EjsDatePicker Readonly="true" @bind-Value="@myEntity.DocDate" /></td>
and
public DTO myEntity { get; set; }
and
public DateTime DocDate { get; set; } = DateTime.Today;
the error is :
Error CS1503 Argument 2: cannot convert from 'Microsoft.AspNetCore.Components.EventCallback<System.DateTime>' to 'Microsoft.AspNetCore.Components.EventCallback'