Completed
Last Updated: 29 Aug 2023 05:10 by ADMIN
Ernest
Created on: 13 Oct 2022 13:26
Category: DateTimePicker
Type: Bug Report
0
Using the DateInputs inside the Form component throws an error

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.

2 comments
ADMIN
Plamen
Posted on: 29 Aug 2023 05:07

Hello,

Thank you for getting in touch with us.

It seems to be an issue in the demo itself - we need to also prevent the emit of the 'input' event as it is propagated when it is not needed:

emits: {
    input: null,
    change: null,
    blur: null,
    focus: null,
  },

Here is an updated example - https://stackblitz.com/edit/jdxj5t-hylzod

Please excuse us for not updating this issue earlier.

Regards,
Plamen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources

Ernest
Posted on: 28 Aug 2023 15:44
What about this one? I still have this error when trying to use DatePicker in a Form.