@philnash/web-otp-input
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -26,6 +26,3 @@ export class WebOTPInput extends HTMLElement { | ||
async connectedCallback() { | ||
let parentForm = this.parentElement; | ||
while (parentForm !== null && parentForm.tagName !== "FORM") { | ||
parentForm = parentForm.parentElement; | ||
} | ||
const parentForm = this.closest("form"); | ||
this.abortController = new AbortController(); | ||
@@ -32,0 +29,0 @@ if (parentForm) { |
{ | ||
"name": "@philnash/web-otp-input", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A web component to make using the WebOTP API declarative", | ||
@@ -5,0 +5,0 @@ "type": "module", |
7030
64