Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda