Completed
Last Updated: 20 Mar 2023 16:50 by ADMIN
Release R3 2022 - Increment 2 (03.08.2022)
Shashwat
Created on: 27 Jul 2022 10:02
Category: DatePicker
Type: Bug Report
1
DatePicker issues when pressing the Enter key

Describe the bug
The DatePicker component behaves unexpectedly when it is part of an HTML form that has a Submit button. The things that happen are as follows:

  1. If you focus the DatePicker and press Enter, the popup of the component opens
  2. If there are two DatePickers inside the HTML form, focusing on the second DatePicker and pressing Enter, opens the popup of the first DatePicker

To Reproduce

Scenario 1:

  1. Open this project
  2. Focus the DatePicker and press Enter

Scenario 2:

  1. Open this project
  2. Focus on the second DatePicker and press Enter

Expected behavior
When pressing Enter inside the HTML form, the form should be submitted and no DatePicker popups should open

0 comments