We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DateTimePicker Maximum value is not reflecting.

Thread ID:

Created:

Updated:

Platform:

Replies:

149301 Nov 21,2019 02:10 AM UTC Nov 22,2019 02:00 PM UTC Blazor 3
loading
Tags: DateTime Picker
j
Asked On November 21, 2019 02:10 AM UTC

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))" />

Saranya Dhayalan [Syncfusion]
Replied On 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.  
  
  
Regards,  
Saranya D 
  


j
Replied On November 22, 2019 01:10 AM UTC

Okay that's cool you are adding this as a feature improvement.

Saranya Dhayalan [Syncfusion]
Replied On 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  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon