Skip to content

Error is thrown when value is entered through the browser`s autofill in the DateInput #7832

@nelito987

Description

@nelito987

Bug report

When the user try to enter a value using the browser`s autofill, the value is not entered correctly and an error is thrown in the browser console.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/EqaleBaL
  2. Enter some values and click 'Submit'
  3. Run the example again and strat enetring the same Name
  4. When the autofill popup select the name to autofill the rest of the fields.

Note: some browsers may not save the dates in the autofill list. The screencast linked here is when the Edge browser is used.

Current behavior

The value in the DateInput is not filled in correctly and the following error is thrown in the console: Cannot read properties of undefined (reading 'toString') at t.keyEventMatchesAutoSwitchKeys (kendo.all.js:63751:1)

Expected/desired behavior

The value from the autofill should be filled in the DateInput.

The issue is a regression starting with 2023.2.606

Environment

  • Kendo UI version: 2024.2.514
  • Browser: [all ]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions