Completed
Last Updated: 14 Nov 2024 09:28 by ADMIN
Release 7.0.0

Used a MacBook Pro for this test.

  • Used the Telerik UI for Blazor Productivity Tools extension in VS Code
  • Launch - Telerik UI for Blazor Template Wizard
    • template - dashboard
    • telerik version 5.1.1
    • enable localization
    • .net 7.0
  • Create a razor file with the TelerikDatePicker component and a binded value attribute for selected date
    • The selected date variable should be set to a default DateTime value
      • I used new DateTime(2024,9,1)
    • The attribute Format is not used in the component
    • Below the component show the value for the System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern variable
  • Comment out all TileLayoutItems from Tile Layout
  • Add DatePicker component to a TileLayoutItem
  • In your terminal run dotnet watch to run the app
    • English is the culture in the top right
    • The format of the default date in the datepicker should be MM/dd/yyyy
      • Date is 9/1/2024
      • ShortDatePattern is M/d/yyyy
    • Switch the culture to German
    • The format of the date value should be dd.MM.yyyy
      • Date is 9.1.2024
      • ShortDatePattern is dd.MM.yyyy

    Unplanned
    Last Updated: 04 Nov 2024 07:44 by ADMIN
    This issue is for all date inputs when having a higher latency (physical distance between the server and the end-user) the value of the date inputs is not correct. 
    Unplanned
    Last Updated: 24 Sep 2024 17:12 by Andrew

    The Min and Max parameters of the DateInput, DatePicker and TimePicker don't work if the component Value is of type DateOnly or TimeOnly. Here is a test page:

    <p>
        Allowed dates between @DateInputMin.ToShortDateString() and @DateInputMax.ToShortDateString(). Enter an invalid date:
    </p>
    
    Nullable DateTime (if out of range, will <strong style="color:green">nullify</strong>):
    <TelerikDateInput @bind-Value="@NullableDateTimeValue"
                      Min="@DateInputMin"
                      Max="@DateInputMax"
                      Width="120px" />
    
    @NullableDateTimeValue?.ToShortDateString()
    
    <br />
    <br />
    
    DateTime (if out of range, will <strong style="color:green">autocorrect</strong>):
    <TelerikDateInput @bind-Value="@DateTimeValue"
                      Min="@DateInputMin"
                      Max="@DateInputMax"
                      Width="120px" />
    
    @DateTimeValue.ToShortDateString()
    
    <br />
    <br />
    
    Nullable DateOnly (if out of range, will <strong style="color:red">accept</strong>):
    <TelerikDateInput @bind-Value="@NullableDateOnlyValue"
                      Min="@DateInputMin"
                      Max="@DateInputMax"
                      Width="120px" />
    
    @NullableDateOnlyValue?.ToShortDateString()
    
    <br />
    <br />
    
    DateOnly (if out of range, will <strong style="color:red">accept</strong>):
    <TelerikDateInput @bind-Value="@DateOnlyValue"
                      Min="@DateInputMin"
                      Max="@DateInputMax"
                      Width="120px" />
    
    @DateOnlyValue.ToShortDateString()
    
    @code {
        private DateTime DateTimeValue { get; set; } = DateTime.Today;
        private DateOnly DateOnlyValue { get; set; } = DateOnly.FromDateTime(DateTime.Today);
    
        private DateTime? NullableDateTimeValue { get; set; } = DateTime.Today;
        private DateOnly? NullableDateOnlyValue { get; set; } = DateOnly.FromDateTime(DateTime.Today);
    
        private DateTime DateInputMin { get; set; } = DateTime.Today.AddYears(-10);
        private DateTime DateInputMax { get; set; } = DateTime.Today;
    }

    Completed
    Last Updated: 15 Aug 2024 10:17 by ADMIN
    Release 4.0.1 (27/01/2023)
    Deleting a date segment clears the entire date and automatically focuses on the last date segment.
    Completed
    Last Updated: 05 Aug 2024 13:31 by ADMIN
    Release 6.1.0
    Created by: Michael
    Comments: 2
    Category: DateInput
    Type: Bug Report
    2

    The input should be focused after the user clicks the clear button.

    Declined
    Last Updated: 10 Jun 2024 14:28 by ADMIN

    Reproduceable example: https://blazorrepl.telerik.com/wSEgunbK46sVmd1p02

    In my use case, I have custom components that wrap each of the telerik date controls (date picker, time picker, etc). They each expose a SelectedDate/SelectedTime/etc. bindable property. The SelectedDate is populated when the telerik control in my component (like TelerikDatePicker) fires OnChange. I use this instead of ValueChanged to avoid too many UI updates while the user selects a value in the UI, such as when typing. The OnChange event fires when the date input loses focus, but if the date input didn't have focus when the clear button is clicked, it never loses foucs and never fires OnChange. Let me know if this isn't intended to be supported and I should just be using ValueChanged instead, but to me OnChange would imply it would fire in all cases when the value can also change through ValueChanged, just less often.

    Steps to reproduce (I used a TelerikDatePicker in the code above but I could reproduce this locally with date time picker and time picker - it's related to the underlying DateInput):

    • Enter a date into the date picker, either through typing or using the calendar popup
    • Cause the date picker to lose focus by clicking away
    • Click the clear button
    • Notice that the date is cleared from the UI control, but it doesn't call OnChange, so the date on the page never updates

    When I discovered this locally, clicking the clear button would not clear the date visually from the date input as well as not updating the actual date variable. In the REPL, I was not able to replicate this - the date clears visually in the UI.

    Unplanned
    Last Updated: 07 May 2024 19:15 by ADMIN
    Created by: Meindert
    Comments: 0
    Category: DateInput
    Type: Bug Report
    0

    The DateInput rendering performance worsened in version 4.6.0 and the component renders more slowly. This is easily visible when there are multiple DateInputs on the page:

    4.5.0: https://blazorrepl.telerik.com/mdPFuXFI02i7Ulbo52

    4.6.0: https://blazorrepl.telerik.com/GdlbEXPe00IhfKWN29

    When you check and uncheck the checkbox, the DateInputs appear more slowly with version 4.6.0.

    There is also a Grid, which is commented out. If you show it, the virtual scrolling will exhibit a temporary freeze before rendering of the new rows - the user sees the loading skeletons for a second even after they have stopped scrolling.

    Duplicated
    Last Updated: 23 Feb 2024 10:59 by ADMIN
    To reproduce:

    move focus to a DateInput (whole date input is in focus)

    Type in 01 into the DateInput, and the caret will move to the end, but no value filled.
    Completed
    Last Updated: 12 Jan 2024 15:48 by ADMIN
    Release 5.1.0 (31 Jan 2024) (R1 2024)
    Created by: Stefan
    Comments: 2
    Category: DateInput
    Type: Bug Report
    3

    The DateInput and all related date/time pickers display 1970/1/1 after programmatic Value clearing and subsequent focus.

    The behavior was correct until version 4.6.0 inclusive.

    <TelerikDateInput @bind-Value="@DatePickerValue"
                      Width="200px">
    </TelerikDateInput>
    
    <TelerikButton OnClick="@( () => DatePickerValue = default )">Clear Value</TelerikButton>
    
    @code {
        private DateTime? DatePickerValue { get; set; } = DateTime.Now;
    }

    Completed
    Last Updated: 29 Oct 2023 07:09 by ADMIN
    Release 5.0.0 (15 Nov 2023) (R1 PI1)

    Hi,

    This is easily viewable in your demos.  Using Safari, go to:

    https://demos.telerik.com/blazor-ui/dateinput/overview

    Try to use keyboard arrows left and right and up/down to change date.  It doesn't hold the selected date part.  

    Works fine in Chrome / Firefox.

    Unplanned
    Last Updated: 06 Oct 2023 09:49 by balu
    Created by: balu
    Comments: 0
    Category: DateInput
    Type: Feature Request
    1
    I would like to be able to input leap years in the date input components and still using the AutoCorrectParts paramter. 
    Unplanned
    Last Updated: 09 Aug 2023 07:09 by ADMIN
    Created by: Svetoslav
    Comments: 4
    Category: DateInput
    Type: Feature Request
    27
    Currently, the Date input components apply a mask to the input which restricts the user to type dates. By modifying the mask, or remove it altogether, the users will be able to freely type dates.
    Completed
    Last Updated: 14 Mar 2023 13:08 by ADMIN
    Release 4.1.0 (15/03/2023)
    Created by: Minto
    Comments: 6
    Category: DateInput
    Type: Feature Request
    10
    Pressing 0 in the date input deletes the date and shows the format 
    Completed
    Last Updated: 06 Mar 2023 10:01 by ADMIN
    Release 4.1.0 (15/03/2023)

    Using Telerik Blazor 4.0.1.  Previously on 3.5.0, there were no issues.  The only other difference is .NET 7.0.

     

    Create a blank Telerik Blazor Server project and use the attached index.razor.  In the OnInitialized, there are two lines that set the DateTime.  The first one works but the second one results in the TelerikDateInput field showing h:mm AM instead of 12:00 AM.

     

    Am I doing something wrong?  If so, what changed from 3.5 to experience this?

     

    Thanks,

     

    Chuck

     

    Completed
    Last Updated: 25 Jan 2023 13:41 by ADMIN
    Release 4.0.0 (18 Jan 2023) (R1 2023)
    Created by: Philip
    Comments: 13
    Category: DateInput
    Type: Feature Request
    25

    My users want to paste dates in the date inputs (date pickers in our case). This seems to work in Kendo, but does not work in Blazor, even when the format of the copied data matches the Format of the component.

     

    <p>
        Try copying this date which is valid in the current format: 23/03/1998
        <br />
        then paste it in the date picker and see what happens to the <code>TheDate</code> field
    </p>
    
    @TheDate
    <br />
    
    <TelerikDateInput @bind-Value="TheDate" Format="dd/MM/yyyy" /> @TheDate.ToString("dd/MM/yyyy")
    
    @code {
        DateTime TheDate { get; set; } = new DateTime(2019, 11, 27, 02, 03, 44);
    }
    

    ---

    ADMIN EDIT

    Allowing the paste into the DateInput (and by extension date picker,...)  would have a lot of cases to control and that is why we have not yet enabled it. If the format is M/d/yyyy, for example, validation for numbers lower or equal to 12 would not be possible when the month is regarded. If the user pastes 8/2/2020 could mean two things - 8th of February 2020 or 2nd of August 2020. This might cause issues as the data that goes to the database might be incorrect and causing the application to misbehave.

    That being said, how would you suggest handling the pasting of dates in the component. How would you like from us to handle the format difference of the dates? Please comment below.

    ---

    Completed
    Last Updated: 17 Jan 2023 21:41 by ADMIN
    Release 4.0.0 (18 Jan 2023) (R1 2023)
    Created by: Mike
    Comments: 3
    Category: DateInput
    Type: Feature Request
    5
    I would like to be able to configure the auto-tab behavior so that the DateInput only tabs when user type '/' (i.e. disable smart auto-tabbing).

    month/day/year 

    Expected UX:  3/3/2022
    Example: https://demos.telerik.com/kendo-ui/dateinput/index 

    Current UX: 332022
    Example: https://demos.telerik.com/blazor-ui/dateinput/overview 

    Completed
    Last Updated: 16 Jan 2023 13:37 by ADMIN
    Release 4.0.0 (18 Jan 2023) (R1 2023)
    Created by: Roland
    Comments: 0
    Category: DateInput
    Type: Feature Request
    7

    See https://docs.telerik.com/blazor-ui/components/dateinput/supported-formats#two-digit-year-formats

    I am using a 4-digit format as workaround, but 2-digit formats are quite normal over here. That is why most tools and OS-es have cutoff years. Often a floating cutoff year that is 50 years before the current date. So anything below 70 would be 20xx. Or you can have a cutoff year close to a century ago, because you consider dates past more relevant than future dates. 

    .NET has System.Globalization.TwoDigitYearMax.
    Completed
    Last Updated: 20 Dec 2022 15:07 by ADMIN
    Release 4.0.0 (18 Jan 2023) (R1 2023)

    Currently, if the component has DebounceDelay and loses focus before the delay has passed, the Blur event is fired before the ValueChanged event. 


    This bug extends to DateInput, DatePicker, DateTimePicker, and DateRangePicker

    Unplanned
    Last Updated: 21 Nov 2022 15:17 by David

    If you use the FloatingLabel, when you tab into the DateInput control, the cursor is set at the very end of the text of the date format. However, if you do not use the FloatingLabel, and you tab into the DateInput control, the placeholder text is selected.

    Reproduction: https://blazorrepl.telerik.com/wQlvclOZ14jEKaXU38.

    ===

    ADMIN EDIT

    ===

    The report is initially opened for DateInput, however, it also targets the rest of the date pickers that are compatible with FloatingLabel.

    Completed
    Last Updated: 26 Oct 2022 14:02 by ADMIN
    Release 3.7.0 (09 Nov 2022)
    Created by: David Rhodes
    Comments: 2
    Category: DateInput
    Type: Feature Request
    1

    Hello,

    Please add an AutoComplete parameter for the DateInput and the date/time pickers, so that browser auto-fill behavior can be controlled or even disabled, if it works incorrectly.

    1 2