I performed the composition of my CanActivate and CanLoad through the class LoggedInGuard. The problem is that whenever I refresh the page, I'm redirected to the Login page, even logged in. Below my LoggedInGuard class
@Injectable()
export c...
I have the following mat-checkbox:
<mat-checkbox formControlName="formControlIdentificador" color="primary" class="correcaoClasseCheck" labelPosition="before"></mat-checkbox>
<input formControlName="formControlNomeIdentificador...
I want to implement datepicker in a typescript project.
I tried to initially install the datepicker by npm but I could not ... so I'm trying the standard way anyway.
I originally imported
<link rel="stylesheet" href="https://stackpath...
I have an array object that I want to add a key and value in it.
I tried something like:
this.testeobj//meu objeto
this.testeobj[0].push({oi: 'teste});
Good Night!
I have a problem with a function in Typescript (Ionic 2).
The function performs a search / filter from the contents of the tags. The user enters the number they want to fetch and the function filters from the number entered.
The f...
I have a component called login that when login completes the data of the user object, I need to get the "charge" field of this object and receive it in another component.
I've tried:
login.component.ts:
public usuario: Usuario = new...
I made a filter to perform a search on Ionic 3. Here is my TypeScript code:
filtrar()
{
//Filtra
this.auto.storage.get("acesso").then(sessao =>{
var dados = {"token":123,"rg":sessao.rg, "data": this.filtroData, "tipo"...
In my template I have a button that calls the sign-in function:
<button type="submit" name="entrar" (click)="fazerLogin()" routerLink="/home" class="login" id="login-button">Entrar</button>
I've added a div for if the username o...
I need to do an editing screen and I can not. See how my component is (I deleted the imports to save space)
@Component({
selector: 'app-operators',
templateUrl: './operators.component.html',
styleUrls: ['./operators.component.css'],
pr...