Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

273
Visualizações
Angular Setting a Value to the Filter Field of Another Screen

In my code, I have a screen where the url has an id. After an operation in that screen, the user clicks Done button and navigates to a list screen. The list screen has a filter field to filter elements from the list. My question is; how can I set that id(OperationId) of the url of the first screen to the filter field of the second screen when user navigates to the second screen after Done operation?

First screen/URL: enter image description here

Second Screen/Where the ID will be set: enter image description here

First Screen HTML:

<button mat-button class="green fuse-white-fg" matStepperNext
    [disabled]="disableCompleteButton" (click)="complete()">Done</button>

First Screen TS:

complete() {
    this._terminalService
        .saveScalesMaterialInputOutput(this.scaleMaterial)
        .subscribe(
            () => {
                    this._router.navigate([
                        "/terminal/transaction-list-collect",
                    ]);
                }
        );
}

Second Screen HTML:

    <mat-form-field fxFlex="40">
        <input matInput (keyup)="applyFilter($event.target.value)" placeholder="Filtrele">
    </mat-form-field>
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda