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.
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: 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.
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: 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: 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.

 

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);
}

1 2