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

177
Views
Change Angular Dropdown's bound value on closing Dropdown, rather than on changing the value

I have an Angular dropdown reading and setting values from a SQL Server via Typescript intermediary class. Its current behavior is to alter the Typescript the moment the user clicks in the dropdown, closing the dropdown and reloading the dynamic page. Users find this annoying, and would prefer to be able to click freely within the dropdown menu without altering the bound typescript value, ONLY changing it when they click out of the menu, closing it. Is there a known way to accomplish this?

<mat-form-field>
            <mat-label>Year</mat-label>
            <mat-select formControlName="year" (selectionChange)="isStandardOrCurrentCost()">
                <mat-option *ngFor="let year of getAvailableYears()" [value]="year">{{year}}</mat-option>
            </mat-select>
            <control-messages [control]="form.get('year')"></control-messages>
</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!