show password component

This commit is contained in:
realaravinth
2021-05-14 16:33:18 +05:30
parent bb6cc840ea
commit 6b740a980b
13 changed files with 285 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ import VIEWS from '../../../views/v1/routes';
import isBlankString from '../../../utils/isBlankString';
import genJsonPayload from '../../../utils/genJsonPayload';
import getFormUrl from '../../../utils/getFormUrl';
import registerShowPassword from '../../../components/showPassword';
//import '../forms.scss';
@@ -62,4 +63,5 @@ const login = async (e: Event) => {
export const index = () => {
const form = <HTMLFontElement>document.getElementById('form');
form.addEventListener('submit', login, true);
registerShowPassword();
};