@schukai/monster 3.114.4 → 3.114.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/package.json +1 -1
- package/source/components/form/login.mjs +1395 -1403
- package/source/components/form/password.mjs +6 -5
@@ -20,10 +20,6 @@ import {
|
|
20
20
|
import { PasswordStyleSheet } from "./stylesheet/password.mjs";
|
21
21
|
import { fireCustomEvent } from "../../dom/events.mjs";
|
22
22
|
import "./input-group.mjs";
|
23
|
-
import { addErrorAttribute } from "../../dom/error.mjs";
|
24
|
-
import { STATE_OFF, STATE_ON } from "./toggle-switch.mjs";
|
25
|
-
import { Observer } from "../../types/observer.mjs";
|
26
|
-
import { internalSymbol } from "../../constants.mjs";
|
27
23
|
|
28
24
|
export { Password };
|
29
25
|
|
@@ -90,7 +86,7 @@ class Password extends CustomControl {
|
|
90
86
|
* @return {string}
|
91
87
|
*/
|
92
88
|
get value() {
|
93
|
-
return this
|
89
|
+
return this.getOption("value");
|
94
90
|
}
|
95
91
|
|
96
92
|
/**
|
@@ -204,6 +200,11 @@ function initEventHandler() {
|
|
204
200
|
});
|
205
201
|
});
|
206
202
|
|
203
|
+
this[inputElementSymbol].addEventListener("input", function (event) {
|
204
|
+
self.setFormValue(self.value);
|
205
|
+
self.setOption("value", this.value);
|
206
|
+
})
|
207
|
+
|
207
208
|
return this;
|
208
209
|
}
|
209
210
|
|