mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Apply suggestions from code review
Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
This commit is contained in:
@@ -282,9 +282,6 @@ export default class WaInput extends WebAwesomeFormAssociated {
|
||||
// See https://github.com/shoelace-style/shoelace/pull/988
|
||||
//
|
||||
if (!event.defaultPrevented && !event.isComposing) {
|
||||
// getForm.elements.find(() => {
|
||||
// el.getAttribute("type") === "submit"
|
||||
// })
|
||||
this.getForm()?.requestSubmit(null);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user