DateTimePicker Maximum value is not reflecting.
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))" />
SIGN IN To post a reply.
3 Replies
SD
Saranya Dhayalan
Syncfusion Team
November 21, 2019 10:54 AM UTC
Hi J,
Thank you for contacting Syncfusion support
We have checked your reported issue. Max time range(7.00PM) applied in the Max date (30/11/2019) only not for every date. Please check the below screenshot for your reference:
If you are expecting the time range need to set every date that requirements currently not feasible with Date Time Picker. So, we have already considered the reported scenario (To restrict the time ranges for other days in Date Time Picker) as the improvement in Date Time Picker that will be included in any one of our upcoming releases.
You can also track the details regarding this feature with our Feedback portal from the below link.
https://www.syncfusion.com/feedback/5494/restrict-the-time-selection-in-the-datetimepicker-component
Regards,
Saranya D
J
j
November 22, 2019 01:10 AM UTC
Okay that's cool you are adding this as a feature improvement.
SD
Saranya Dhayalan
Syncfusion Team
November 22, 2019 02:00 PM UTC
Hi J
Thanks for the update. You can track the status through the below feedback link
Regards,
Saranya D
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
J j
- Nov 21, 2019 02:10 AM UTC
- Nov 22, 2019 02:00 PM UTC