Apply suggestions from code review

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
This commit is contained in:
Konnor Rogers
2024-05-20 13:44:18 -04:00
committed by GitHub
parent c9f9a88637
commit 1d05c315ac
6 changed files with 4 additions and 10 deletions

View File

@@ -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);
}
});