From 4ea9b69ab51fe6e46f230aec262b2846ec33593b Mon Sep 17 00:00:00 2001 From: Ken Sternberg Date: Thu, 8 Jun 2023 14:38:45 -0700 Subject: [PATCH] web: fix out-of-date comment --- .../password-match-indicator.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/web/src/elements/password-match-indicator/password-match-indicator.ts b/web/src/elements/password-match-indicator/password-match-indicator.ts index 269c2a310..335b7abe8 100644 --- a/web/src/elements/password-match-indicator/password-match-indicator.ts +++ b/web/src/elements/password-match-indicator/password-match-indicator.ts @@ -7,11 +7,6 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css"; import findInput from "../password-strength-indicator/findInput.js"; -/** - * A simple display showing if the passwords match. This element is extremely fragile and - * role-specific, depending as it does on the token string '_repeat' inside the selector. - */ - const ELEMENT = "ak-password-match-indicator"; @customElement(ELEMENT) @@ -27,12 +22,16 @@ export class PasswordMatchIndicator extends AKElement { ]; /** - * The input element to observe. Attaching this to anything other than an HTMLInputElement will - * throw an exception. + * A valid selector for the first input element to observe. Attaching this to anything other + * than an HTMLInputElement will throw an exception. */ @property({ attribute: true }) first = ""; + /** + * A valid selector for the second input element to observe. Attaching this to anything other + * than an HTMLInputElement will throw an exception. + */ @property({ attribute: true }) second = "";