Completed
Last Updated: 14 Nov 2024 09:29 by ADMIN
Release 7.0.0
  1. See the DatePicker Validation Demo
  2. Highlight the year
  3. Start typing 2029
  4. See that even on the first input stroke the validation is triggered.

<Admin>

As a workaround, you can add the DebounceDelay parameter with a high number as in this REPL link

</Admin>

Completed
Last Updated: 10 Oct 2024 07:00 by ADMIN

TELERIK EDIT: This appears to be fixed in version 6.0.0

====

Hi

I have created a REPL here: https://blazorrepl.telerik.com/QHYGbTPk59IqOcEU51

to reproduce the issue I am talking about:

  1. click on the cell
  2. Press the 'Delete' Key
  3. Press the 'Enter' Key

you will notice that the value displayed below the table is what was previously in the cell

I would have expected the value to be null which can be achieved via

  1. click on the cell
  2. Press the 'Delete' Key
  3. Click outside the cell


Unplanned
Last Updated: 20 Dec 2023 09:14 by Nick
I have a DatePicker with MMM dd, yyyy format. When I type a valid value for the month date segment the component will not switch to the day even if AutoSwitchParts is true. 
Unplanned
Last Updated: 27 Mar 2020 09:34 by ADMIN
At the moment, the date and time pickers open their calendar popups at the left edge of the input. When the inputs are narrow, this is OK, but on a wide form, this puts the popup far away from the button which is not very comfortable for the user. In fact, the user may miss it altogether.
Unplanned
Last Updated: 06 Apr 2020 13:53 by ADMIN
Created by: Wuttichai
Comments: 1
Category: DatePicker
Type: Bug Report
2
For example, a Thai calendar causes exceptions in WASM because day names are missing
Completed
Last Updated: 28 Feb 2022 09:32 by ADMIN
Release 3.1.0

When using a DateTime? for input and a specific format, for example yyyy-MM-dd. If you just want to change the month part and type 03 the focus shifts to the start of the input and the month part gets replaced by MM.  Also applies to DateInput.

Reproduce:

https://blazorrepl.telerik.com/QGYFEfPU52ceM2wL03

Select the month part and type 03 for example. If using a non nullable DateTime, this does not happen.

This was marked as a duplicate for this issue: https://feedback.telerik.com/blazor/1468716-datepicker-loses-focus-when-the-input-date-starts-with-0

That issue is now "completed" but the issue I'm describing is not fixed.

Unplanned
Last Updated: 16 May 2022 12:09 by Mark

When using an abbreviated month in the date format, the picker will not automatically move to the next element (year) after entering a month. If I enter 04 for example, the focus remains on the month.

When using a numeric month in the date format, the picker will automatically move to the year after entering a month.

See an example: https://blazorrepl.telerik.com/cmOzPgFc08d1woml09.

Unplanned
Last Updated: 09 Mar 2023 10:01 by Silas

DatePicker cursor not advancing after month input. The problem arises when dd/MMM/yyyy format is applied.

To reproduce the issue open this REPL example. Type any date in the second DatePicker. When inserting a month value the cursor is not moved to the year section.

After inserting a month the cursor should be moved to the year section. As when no format is applied (the first DatePicker)
Completed
Last Updated: 14 Aug 2019 07:43 by ADMIN
Release 1.5.0
Created by: Eric
Comments: 0
Category: DatePicker
Type: Bug Report
1
In the following sample, the pickers should have different (distinct) formats, but they are always yyyy-MM-dd

@using Telerik.Blazor.Components.DatePicker


<TelerikDatePicker Enabled="false" @bind-Value="@HireDate" Format="MMMM/dd/yyyy"></TelerikDatePicker>
@HireDate

<br/>

<TelerikDatePicker @bind-Value="@MeetingDate" Format="MM/dd/yyyy HH:mm:ss"></TelerikDatePicker>
@MeetingDate

@code  {
DateTime HireDate { get; set; } = new DateTime(2018, 5, 6);
DateTime MeetingDate { get; set; } = new DateTime(2019, 3, 4, 15, 0, 0);
}
Duplicated
Last Updated: 02 Mar 2020 13:21 by ADMIN
Created by: Paul
Comments: 1
Category: DatePicker
Type: Bug Report
1

The picture says it all!

Completed
Last Updated: 24 Feb 2020 07:35 by ADMIN
Release 2.8.0
Created by: Jasmin
Comments: 2
Category: DatePicker
Type: Bug Report
1

Setting Min and Max should also prevent the user from writing a date that is out of their range. At the moment, it only disables the dates in the calendar.

In the meantime, you can use validation to limit the user input.

Completed
Last Updated: 19 Feb 2020 13:52 by ADMIN
Release 2.8.0
Created by: John
Comments: 1
Category: DatePicker
Type: Bug Report
1

Hello,

 

I'm trying to integrate a blazor datepicker, and i will only want to display the months and navigate bye years.

But it does not work.

 


 <TelerikDatePicker View="@CalendarView.Year" BottomView="@CalendarView.Decade" Format="MM/yyyy"  @bind-Value="@selectedDate" @ref="theDatePicker"></TelerikDatePicker>

 

Thank you.

Declined
Last Updated: 20 Mar 2020 08:01 by ADMIN

I'm making a wrapper on top of TelerikDatePicker and this is how my component is working

<TelerikDatePicker T="TDate"
                   Value="@_value"
                   ValueChanged="@ValueChanged"
                   ValueExpression="@ValueExpression"
                   Enabled="@Enabled"
                   Class="@ClassMapper.AsString()"
                   Format="@Format" />

@code {

    // ... the other properties

    [Parameter]
    public virtual string Format { get; set; }

}

But here is the problem. This component will give me the error

Error: System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'input'))
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'input')
   at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
   at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement)
   at Telerik.Blazor.Common.DateHelpers.FormatHelper.ExpandFormat(String format)
   at Telerik.Blazor.Common.DateHelpers.FormatHelper.ConvertToKendoIntl(String format)
   at Telerik.Blazor.Components.TelerikDateInputBase`1.GetDateInputOptions()
   at Telerik.Blazor.Components.TelerikDateInputBase`1.OnAfterRenderAsync(Boolean firstRender)

 

So another solution would be set it to string.Empty, but than it will have a different result when I don't pass the Format property.

 

Here are the cases:

    [Parameter]
    public virtual string Format { get; set; } // gives the error

 

    [Parameter]
    public virtual string Format { get; set; } = ""; // doesn't give the default result

 

I had to make a walkaround to not pass Format to the component for it to work

@if (!string.IsNullOrEmpty(Format))
{
    <TelerikDatePicker T="TDate"
                       Value="@_value"
                       ValueChanged="@ValueChanged"
                       ValueExpression="@ValueExpression"
                       Enabled="@Enabled"
                       Class="@ClassMapper.AsString()"
                       Format="@Format" />
}
else
{
    <TelerikDatePicker T="TDate"
                       Value="@_value"
                       ValueChanged="@ValueChanged"
                       ValueExpression="@ValueExpression"
                       Enabled="@Enabled"
                       Class="@ClassMapper.AsString()" />
}

 

What should I set as a default value to my wrapper's Format property so it doesn't give me the error and also get's the default value of Format?

 

Please don't say that I should keep the @if (!string.IsNullOrEmpty(Format)), it's so bad and I don't want to use telerik and still have to make walkarounds.

Completed
Last Updated: 04 Mar 2021 17:27 by ADMIN
Release 2.23.0

When using DatePicker with Globalization the message that indicates that the component has an invalid date is still visible even after providing a correct date.

Completed
Last Updated: 15 May 2020 18:56 by ADMIN
Release 2.14.0
Only under WASM, when you double click the icon fopr the calendar/time popup, you get an exception. Can happen with a bit slower click before the animation has finished, but it's hard to reproduce (you have to be quite fast and slow enough so it isn't a double-click).
Unplanned
Last Updated: 14 Dec 2020 08:57 by ADMIN
Created by: Kevin
Comments: 0
Category: DatePicker
Type: Feature Request
1

I would like to be able to disable a month or multiple months in the DatePicker/DateRangePicker or the Calendar.

<AdminEdit>

Currently, we look at this feature as an internal check if all dates in the month/months are disabled and if so to disable the entire month. 

</AdminEdit>

Declined
Last Updated: 23 Apr 2021 07:19 by ADMIN
Created by: Marc Simkin
Comments: 1
Category: DatePicker
Type: Feature Request
1

Currently, when dates need to be disable in the DatePicker and DateRangePicker, a collection of induvial dates are provided.  As a result, when I need to disable a 90 day or 180 day continuous range I need to add to the collection 90 or 180 day individual DateTime objects.

It would be more efficient to provide a range of dates to disable instead of induvial dates.

The DisabledDates should accept a collection of DisableDateItems that is similar to the below:

public class DisableDateItem
{
     public DateTime RangeBegin { get; set; }
     public DateTime RangeEnd { get; set; }
}

Using this collection I can disable an individual date by having the RangeBegin and RangeEnd dates be the same, as shown below:

var bankHoliday = new DisableDateTime
{
       RangeBegin = new DateTime(2021, 09, 01),
       RangeEnd = new DateTime(2021, 09, 01)
};


To disable a date range, for example the Eastern Good Friday Weekend, I would provide a DisableDateTime as:

var bankHoliday = new DisableDateTime
{
       RangeBegin = new DateTime(2021, 04, 30),
       RangeEnd = new DateTime(2021, 05, 02)
};

To disable a 90 day range, I would provide a DisableDateTime object as:

var bankHoliday = new DisableDateTime
{
       RangeBegin = new DateTime(2021, 05, 01),
       RangeEnd = new DateTime(2021, 07, 30)
};
Completed
Last Updated: 04 Apr 2022 19:10 by ADMIN
Release 3.2.0

I want to apply some custom CSS to hide the disabled dates. However, it appears that k-state-disabled class is not applied to all of them. 

For example, if I set the Max parameter to October 15th 2021, the remaining dates of October have the k-state-disabled but the ones in November only have k-other-month class.

 

The same behavior occurs when I set the Min parameter - the dates from the previous month do not have k-state-disabled class.

===========

ADMIN EDIT

===========

Note: This bug also affects Calendar, DateRangePicker and DateTimePicker components.

As a workaround for the time being you might try another approach - all the disabled cells have aria-disabled = "true" attribute which you can use as a CSS selector to target the disabled cells:

<style>
    [aria-disabled="true"] {
        visibility: hidden;
    }
</style>

<TelerikDatePicker @bind-Value="datePickerValue" Max="@MaxValue"></TelerikDatePicker>

@code  {
    DateTime datePickerValue { get; set; } = new DateTime(2021, 10, 1);
    DateTime MaxValue { get; set; } = DateTime.Now;
}


 

Duplicated
Last Updated: 31 Jan 2022 15:34 by ADMIN

When using a DateTime? for input and a specific format, for example yyyy-MM-dd. If you just want to change the month part and type 03 the focus shifts to the start of the input and the month part gets replaced by MM.

Reproduce:

https://blazorrepl.telerik.com/QGYFEfPU52ceM2wL03

Select the month part and type 03 for example. If using a non nullable DateTime, this does not happen.

 

 

Completed
Last Updated: 21 Jan 2022 13:22 by ADMIN
Created by: John af P
Comments: 3
Category: DatePicker
Type: Feature Request
1

The normal InputDate in blazor has an @ondblclick event. The intellisense for TelerikDatePicker indicates that this should be available but gives the error "...does not have a property matching the name 'ondblclick'."