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: 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: 19 Jun 2019 10:54 by ADMIN
Release 1.2.0
Created by: Darren
Comments: 0
Category: DateInput
Type: Feature Request
14

Binding a date input or a date picker to a nullable value causes a build-time error

error CS1503: Argument 1: cannot convert from 'System.DateTime?' to 'System.DateTime'

Sample:

@using Telerik.Blazor.Components.Button
@using Telerik.Blazor.Components.DateInput

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

@functions {
    [Parameter]
    private DateTime? StartDate { get; set; } = new DateTime(2020, 1, 1);
}

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. 
Completed
Last Updated: 18 Nov 2021 09:28 by ADMIN
Release 2.30.0

Create the WebAssembly CRUD example from the New Project Wizard and go to the Form page.

Type a year in the date picker. Do not remove the focus and type another year. After doing this a few times the input visibly lags and the form becomes slow.

---

ADMIN EDIT

A potential workaround could be to disable the pointer events so that the users will have a harder time focusing the input so they are more likely to use the drodown to choose dates:

   .k-datepicker .k-dateinput input {
        pointer-events: none;
    }

another approach is to avoid the two-way binding that happens on every keystroke, and use the OnChange event to update the model, for example:


<TelerikDatePicker Value="@person.StartDate"
                   OnChange="@( (object dt) => person.StartDate = (DateTime)dt )"
                   ValueExpression="@( () => person.StartDate )"
                   Width="100%" Id="StartDateDP">
</TelerikDatePicker>

---

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: 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.
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: 14 Feb 2022 21:11 by ADMIN
Release 3.0.0
DatePicker loses focus when used as data editor in the Grid and the input date starts with 0, for example 05/05/2020. As attached file, you can see a screen recording of the issue.
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: 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: 13 Mar 2020 14:15 by ADMIN
Release 2.9.0
Created by: Jamie
Comments: 3
Category: DateInput
Type: Bug Report
2

Recreational steps:

1. Typed "05"

2. Typed "right arrow" (select month part)

3. Typed "03"

4. Typed "right arrow" (select year part)

5. Tried typing "2020"... but as you can see things went strangely.

 

Unplanned
Last Updated: 25 May 2022 13:13 by ADMIN
I would like to be able to select which event will trigger the validation - OnInput (ValueChanged) or OnChange - when the component loses focus of the user presses enter. 
Completed
Last Updated: 28 Jul 2022 13:14 by ADMIN
Release 3.5.0
Created by: David Rhodes
Comments: 0
Category: DateInput
Type: Bug Report
2
We've just noticed that OnChange is not firing on TelerikDateInput (3.4), if I roll back to 3.3.0 it works fine.
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

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.

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.

Duplicated
Last Updated: 01 Feb 2022 16:02 by ADMIN

If you use the format "yyyy-MM-dd" type in a full value and go back to change the year part the focus changes to the month part.

For example enter 2022-01-10 and then go back with the mouse to the year part. Type in 20. The focus then changes to the month part before completing the year part.

This happens with other formats as well when you use MM. The leading zero seems to screw things up. If you play around with the control and changing stuff you will notice that the focus function does not work.

https://blazorrepl.telerik.com/GckPEjFb19imr0x607

Completed
Last Updated: 09 Sep 2022 11:10 by ADMIN
Release 3.6.0 (14 Sep 2022) (R3 2022)
I found that I cannot capture the OnBlur event.
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