Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

268
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!