This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
checkbox: should fire click event on submit button if one exists #11639
Labels
a11y
This issue is related to accessibility
g3: reported
The issue was reported by an internal or external product team.
has: Pull Request
A PR has been created to address this issue
P1: urgent
Urgent issues that should be addressed in the next minor or patch release.
resolution: fixed
severity: regression
This issue is related to a regression
type: bug
Milestone
Bug
CodePen and steps to reproduce the issue:
CodePen Demo which demonstrates the issue: https://codepen.io/Splaktar/pen/VgVZRJ?editors=1010#0
Detailed Reproduction Steps:
md-checkbox
Examples of the native behavior
What is the expected behavior?
When the
ENTER
key is pressed, checkbox should search the form for all submitbutton
s andinput
s and send aMouseClick
event to the first submit button that is not disabled.Verify that this CodePen still works.
What is the current behavior?
Checkbox emits a native
submit
event when theENTER
key is pressed.What is the use-case or motivation for changing an existing behavior?
Checkbox keyboard behavior should match the native behavior on Chrome.
Which versions of AngularJS, Material, OS, and browsers are affected?
Is there anything else we should know? Stack Traces, Screenshots, etc.
@codymikol heads up that this is related to PR #11584 and issue #11583. I will try to make a fix for this today.
The text was updated successfully, but these errors were encountered: