web: fix out-of-date comment
This commit is contained in:
parent
c48eee0ebf
commit
4ea9b69ab5
|
@ -7,11 +7,6 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
|
|
||||||
import findInput from "../password-strength-indicator/findInput.js";
|
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";
|
const ELEMENT = "ak-password-match-indicator";
|
||||||
|
|
||||||
@customElement(ELEMENT)
|
@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
|
* A valid selector for the first input element to observe. Attaching this to anything other
|
||||||
* throw an exception.
|
* than an HTMLInputElement will throw an exception.
|
||||||
*/
|
*/
|
||||||
@property({ attribute: true })
|
@property({ attribute: true })
|
||||||
first = "";
|
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 })
|
@property({ attribute: true })
|
||||||
second = "";
|
second = "";
|
||||||
|
|
||||||
|
|
Reference in a new issue