We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5901879 commit 115c4b4Copy full SHA for 115c4b4
src/getValue.js
@@ -56,7 +56,7 @@ const getValue = (element) => {
56
value = [Number(element.min), Number(element.value)];
57
}
58
else if (element.type === "password") {
59
- value = __encryptPassword(value);
+ value = btoa(value);
60
61
else if (element.tagName == "SELECT" && element.hasAttribute('multiple')) {
62
let options = element.selectedOptions;
@@ -98,9 +98,4 @@ const getValue = (element) => {
98
return value;
99
};
100
101
-function __encryptPassword(str) {
102
- let encodedString = btoa(str);
103
- return encodedString;
104
-}
105
-
106
export { getValue };
0 commit comments