web: fix out-of-date comment

This commit is contained in:
Ken Sternberg 2023-06-08 14:38:45 -07:00
parent c48eee0ebf
commit 4ea9b69ab5
1 changed files with 6 additions and 7 deletions

View File

@ -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 = "";