Hello!
I'm trying to use DateRangePicker.
When i'm trying to set @bind-StartDate and @bind-EndDate:
<EjsDateRangePicker Placeholder="Subscription Date" Min="@DateTime.Now" Format="dd.MM.yyyy" @bind-StartDate="@_startDate" @bind-EndDate="@_endDate"></EjsDateRangePicker>
I getting error dyring compilation:
Cannot convert from 'Microsoft.AspNetCore.Components.EventCallback<System.DateTime>' to 'Microsoft.AspNetCore.Components.EventCallback'
If i remove binding
<EjsDateRangePicker Placeholder="Subscription Date" Min="@DateTime.Now" Format="dd.MM.yyyy" ></EjsDateRangePicker>
Everything is ok.