Unplanned
Last Updated: 05 Feb 2024 11:02 by Jerry

Describe the bug
The DateTimePicker component provides the min and max props that allow you to configure specific days and hours restrictions that limit the selection one can make using the component.

Currently, the min and max limitations are applied only for the days and not for the hours meaning that if we define the following:

min: new Date(2022, 2, 1, 8, 30),
max: new Date(2022, 2, 10, 12, 30),

We will be able to select a date between 1st and 10th of March 2022 but we will also be able to select a time that is outside the defined range - for example, 18:30 on 10 March 2022.

To Reproduce

  1. Open this example
  2. Select 10th of March 2022
  3. See the Time view in the popup that allows you to select time that is outside the range of time defined in the max prop

Expected behavior
Based on the definition in the max prop, the Time view in the component's popup should not display the hours and minutes that are not available for selection

Screenshots
image

Completed
Last Updated: 29 Aug 2023 05:10 by ADMIN
Created by: Ernest
Comments: 2
Category: DateTimePicker
Type: Bug Report
0

Describe the bug
When using the different Date Inputs inside the Form component, if you try to manually enter a value, the following error appears in the console:
image

To Reproduce

  1. Open this StackBlitz example
  2. Enter a value for a selected DateInput component

Expected behavior
The value of the component should be changed based on the user's input. No error should appear in the console.

Unplanned
Last Updated: 18 Apr 2022 10:43 by Venkat

Describe the bug
The DateRangePicker doesn't display a correct time when the format prop is defined and the value of the component is set dynamically.

The bug is reproducing when the minutes in the copied value are a number bigger than 51.

To Reproduce

  1. Open this project
  2. Open the DateTimePicker popup and select random date + Time 01: 58
  3. Focus on the DateTimePicker and press Ctrl + A
  4. Copy the value of the first DateTimePicker
  5. Focus on the second DateTimePicker and paste the copied value

Expected behavior
The value of the second DateTimePicker should be the same as the value of the first one.

Current behavior:
The minutes value in the second DateTimePicker is incorrect - it is 1:08 instead of 1:58

Screenshots
image

Completed
Last Updated: 28 Dec 2021 12:02 by ADMIN
Created by: DKD-dev
Comments: 2
Category: DateTimePicker
Type: Bug Report
1

Describe the bug
The steps property is not used/read when set on the DateTimePicker component, even though it says it can on the docs.

To Reproduce

  1. Open this StackBlitz link
  2. Open the popup of the TimePicker. The steps are applied.
  3. Open the popup of the DateTimePicker and select a random date
  4. The TimePicker inside the DateTimePicker doesn't apply the definition of the steps property.

Expected behavior
The steps of the TimePicker, inside the DateTimePicker should be the same as those in the TimePicker component.
Screenshots
image