Completed
Last Updated: 27 Oct 2021 08:47 by ADMIN
Release 2.28.0
Created by: Robert
Comments: 4
Category: DatePicker
Type: Feature Request
48

How to remove placeholder from DatePicker?

If I set DateFormat to "d" then DatePicker will have "d" as a placeholder which confuses my users. How can I set custom placeholder or remove the placeholder from the DatePicker control?

Best regards,

Robert

Unplanned
Last Updated: 26 Apr 2022 10:35 by ADMIN
Created by: Neil N
Comments: 3
Category: DatePicker
Type: Feature Request
15

I would like the following behavior in the date picker. Perhaps it can be achieved with a parameter similar to the one in UI for ASP.NET AJAX - the FocusedDate property (something like RadDatePicker1.FocusedDate = DateTime.Today.AddDays(30);).

The current behaviour is:

* if date is set, show month of set date
*else show month of current date (today)

Desired behaviour:

* if date is set, show month of set date
* else if min date's month is greater than current date month then show month of min date
* else show month of current date

Here is a code snippet to illustrate the issue:

 

Open the picker - it will start in the month with today's date, but I want it to start at the min date - one month later

<TelerikDatePicker @bind-Value="@theDate" Min="@minDate" Max="@maxDate"></TelerikDatePicker>
@code {
    DateTime theDate = DateTime.Now;
    DateTime minDate = DateTime.Now.AddDays(60);
    DateTime maxDate = DateTime.Now.AddDays(230);
}

 

===

ADMIN EDIT

===

The request also applies to the rest of the pickers - DateTimePicker and DateRangePicker.
Completed
Last Updated: 06 Dec 2022 09:39 by ADMIN
Release 4.0.0 (18 Jan 2023) (R1 2023)
Created by: Maurice
Comments: 2
Category: DatePicker
Type: Feature Request
15
I would like to have a column with the number of the week like the one from this example.
Unplanned
Last Updated: 03 Nov 2023 20:48 by Dale
Currently, when I type the separator, the focus moves from one segment to the other. I want to prevent that from happening. 
Completed
Last Updated: 30 Aug 2023 15:16 by ADMIN

Hello,

I have an issue with TelerikDatePicker globalization. It works fine at all, but "Today" has the same translation.


I've used code like this:

CultureInfo.DefaultThreadCurrentCulture = new CultureInfo(MyStringLanguage);

And it still works only for "days" and "months". Could you please tell about current situation about localization and globalization or maybe to suggest some different solution.

Thanks for your help.

Completed
Last Updated: 11 May 2020 10:11 by ADMIN
Release 2.13.0

Many users would prefer to not have to use their mouse when entering data. This makes their job much more efficient when they can keep their hands in one place. I would expect to be able to type "05/22/2020" and also "05222020" into the datepicker but it keeps getting stuck on the day part. If you look at the demo for MVC, when you type those values, it accepts them but the demo for the Blazor datepicker does not.

ADMIN EDIT:

The MVC date picker does not have the described behavior. By default it is a simple <input> without validation so it will take any input, but typing in the numbers in sequence like that won't select a date. See the rest of the discussion and the updated title for more details on the behavior and issue this will fix.

</ADMIN EDIT>

To reproduce, go to https://demos.telerik.com/blazor-ui/datepicker/overview and tab into the datepicker input. Try typing "05/22/2020" and you will get a result of "5/20/yyyy" because it gets stuck on the dd section. 

To see the expected functionality, go to the MVC demo site (https://demos.telerik.com/aspnet-mvc/datepicker) and tab into the datepicker. Try typing "05/22/2020" and you will get a value of "05/22/2020" which is what it should be.

This should work when typing both "05/22/2020" and "05222020" since users will be even more efficient if they don't need to type the /.

Unplanned
Last Updated: 06 Mar 2020 10:08 by ADMIN
Created by: Piet
Comments: 1
Category: DatePicker
Type: Feature Request
5
I need an event like in the Calendar component so that I can load DisabledDates on demand, because they are tied to complex logic in my app.
Unplanned
Last Updated: 13 Jul 2023 14:44 by ADMIN
  • When a user wants to clear a date a lot of time they will click at the end of the component and start hitting back space.  However, after the year is cleared at the end if you keep clicking back space it does not continue to also clear the month and so on.
  • I'd like an option that allows free form typing and it does not parse as you type.  It just allows you to enter the text input like if it were a regular text box.  When you click enter or drop out of focus then it will parse the value as appropriate to what the user enters in.  This would be an example: https://www.matblazor.com/DatePicker .   The user could type in whatever format they want and then it'll parse it into the format that I've selected.  They could enter 2023-07-06, 07.06.2023  04/06/1983 4/6/1983 4/6/83 and it would parse as appropriate and the set the value as appropriate.
  • When you single click into a date picker text box it will highlight the closest date part.  However, if I then try to click again to select the entire date, where the user is just trying to copy and paste it'll do this weird dragging of the highlighted date portion with a do not enter icon.  I would expect that it would allow you to continue selecting the entire contents of the text box so I can then copy and paste.
  • If I only focus on for example the first character of the text box and then try to paste in a value from another form it does not take the copy and paste.  I would honestly expect that copy and paste regardless of what individual element that you are focused on what accept the new value that I am trying to paste.  If I paste in 07/06/2023 anywhere in the text box it should parse that and replace the entire date like if I selected the entire contents of the date and pasted it in.  The free form typing would resolve the useability issues here though.
  • For time picker I'd like some different UI options.  The existing implementation is ok, but if we had options to format the the timer picker like: https://mudblazor.com/components/timepicker#api or other times if we want to lock them in to only specific time intervals it's better to just have them select a time from a drop down.  I realize that the drop down method could be implemented in other ways but if it was just baked into the control it would be a lot easier.
Completed
Last Updated: 04 Jul 2023 09:49 by ADMIN
Release 4.4.0 (07/19/2023) (R3 PI1)
When using the menu filter for a date column, the filter immediately closes when I try to change the month by clicking on the arrows ("<" or ">") to change the month. The same happens when you use a date picker inside any popup.
Unplanned
Last Updated: 20 Jun 2023 12:39 by Ziga HABJAN

When attempting to insert a date of February 29th (2/29) in the DatePicker component with the AutoCorrectParts feature disabled, users are unable to input the year. The component only allows the insertion of the digits 0, 4, and 8, preventing users from selecting other year values.

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

 

 

Completed
Last Updated: 24 Jan 2024 12:50 by ADMIN
Release 2.23.0

Delete the input, choose a date from the dropdown. The issue is that the first picker remains invalid, while it is valid, a keyboard interaction with the input is required to clear the invalid state.

Reproducible:

@using System.ComponentModel.DataAnnotations;

    <EditForm Model="ModelData">
        <DataAnnotationsValidator />
        <ValidationSummary />
        <br /><br />
        <span>Not nullable</span> @ModelData.Date<br />
        <Telerik.Blazor.Components.TelerikDatePicker @bind-Value="ModelData.Date" Min="DateTime.MinValue" Max="DateTime.MaxValue"></Telerik.Blazor.Components.TelerikDatePicker><br /><br />
        <span>Nullable</span> @ModelData.Date2<br />
        <Telerik.Blazor.Components.TelerikDatePicker @bind-Value="ModelData.Date2" Min="DateTime.MinValue" Max="DateTime.MaxValue"></Telerik.Blazor.Components.TelerikDatePicker><br /><br />
    </EditForm>

@code  {

    public MyModel ModelData { get; set; }

    protected override void OnInitialized()
    {
        ModelData = new MyModel();
    }

    public class MyModel
    {
        public string Name { get; set; }

        [Required(ErrorMessage = "Non nullable required")]
        public DateTime Date { get; set; } = DateTime.Today;

        [Required(ErrorMessage = "Nullable required")]
        public DateTime? Date2 { get; set; } = DateTime.Today;
    }
}

Unplanned
Last Updated: 11 Jan 2023 16:09 by Richard
Created by: Richard
Comments: 0
Category: DatePicker
Type: Bug Report
4
Set a Placeholder to the DatePicker. As a result, you will not be able to select the current day from the calendar.
Completed
Last Updated: 20 Apr 2023 20:41 by ADMIN
Release 4.0.0 (18 Jan 2023) (R1 2023)
Created by: Stewart
Comments: 3
Category: DatePicker
Type: Bug Report
4

Hi

When you focus on the DatePicker input element the cursor is at the end of the input instead of the start. 

Here is an example 

https://blazorrepl.telerik.com/ccOtaTOZ59tdXv1J10

Any help would be appreciated

Regards

Stewart

Unplanned
Last Updated: 01 Feb 2021 08:43 by ADMIN
Created by: David
Comments: 0
Category: DatePicker
Type: Feature Request
4

Ideas that would serve me:

 

Completed
Last Updated: 27 Oct 2023 13:57 by ADMIN
Release 5.0.0 (15 Nov 2023) (R1 PI1)

Steps to reproduce

  1. Add a DatePicker
  2. Bind it to nullable DateTime object
  3. Use the dd.MMM.yyyy format
  4. Select any date and when the popup is closed press any numeric key on the keyboard.
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>

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


Completed
Last Updated: 02 Jun 2022 08:22 by ADMIN
Release 3.4.0

The problematic setup:

<TelerikDatePicker Min="@Min" 
                   Max="@Max" 
                   @bind-Value="@selectedDate">
</TelerikDatePicker>


@code  {
    public DateTime Max = new DateTime(2021, 3, 29);
    public DateTime Min = new DateTime(2021, 3, 1);
    private DateTime? selectedDate;
}

Completed
Last Updated: 24 Feb 2020 06:39 by ADMIN
Release 2.8.0
Created by: Robert
Comments: 1
Category: DatePicker
Type: Bug Report
3

Hi,

disabled dates are not working in DatePicker. When setting DisabledDates parameter nothing changes in DatePicker. Those dates can still be selected. It works as expected in Calendar control

1 2 3