* mask value attribute changes for elements in maskInputOptions * refactor initInputObserver to use maskInputValue * add todo * Fix typo * upgrade rrweb-snapshot to 1.1.6 * move maskInputValue to rrweb-snapshot
18 lines
508 B
HTML
18 lines
508 B
HTML
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
<input type="password" id="password" />
|
|
<script>
|
|
const password = document.getElementById('password');
|
|
password.addEventListener('keyup', (event) => {
|
|
password.setAttribute('value', password.value);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|