Posts by pvfreitas • 27 points
4 posts
-
0
votes1
answer37
viewsA: Angular11/HTML - Problem with autofocus
I solved the problem by disabling the autocomplete this way: <input autocomplete="new-password" [(ngModel)]="usuario.password" type="password" name="senha" id="senha" placeholder="Insira a…
-
-1
votes2
answers79
viewsA: Going through an archive of constants
I was able to implement it as follows: cleanCache(): void { Object.Keys(CONSTANTES_CACHE). foreach(x => { localStorage.removeItem(x); }); }
-
0
votes1
answer37
viewsQ: Angular11/HTML - Problem with autofocus
Hello, everyone. I’m having problems with autofocus. I have a login form with user and password. autofocus is in the user input. After the first login, save user and password to not need to type…
-
2
votes2
answers79
viewsQ: Going through an archive of constants
I created the following constant file (constants.ts): export const USER_INFO = 'user-info'; export const USER_SEARCH = 'user-search'; export const USER = 'user'; This file is used to set, retrieve…