Maximum value is not reflecting though I used the same code in TimePicker but the latter is just working fine. Here's my code:
<EjsDateTimePicker Value="@_value"
ValueChange="@OnChange"
Placeholder="Date and Time"
FloatLabelType="@FloatLabelType.Auto"
Readonly="@_readOnly"
Min="@(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 8, 0, 0))"
Max="@(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month), 19, 0, 0))" />
TimePicker is just working fine:
<EjsTimePicker Placeholder="Start time"
Value="@_dailyTime"
ValueChange="@OnTimeChange"
FloatLabelType="@FloatLabelType.Auto"
Readonly="@_timeReadOnly"
Min="@(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 8, 0, 0))"
Max="@(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month), 19, 0, 0))" />