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

334
Views
Angular: la acción de los botones hace la misma llamada

Tengo en un pie de página 3 botones. Cuando hago clic en "siguiente", redirijo a otra página. Pero cuando hago clic en "Editar", solo habilitaría algún campo, mientras hace la misma acción del siguiente botón (redireccionar a otra página).

En tu opinión, ¿por qué tengo este comportamiento?

 <div class="row"> <div class="card-footer-sx col"> <button class="btn back-btn" href="javascript:void(0)" (click)="goBack()">Back</button> </div> <div class="card-footer-center col" style="display: contents" href="javascript:void(0)"> <button class="btn next-btn float-center" (click)="enableEditing()">Edit</button> </div> <div class="card-footer-dx col " > <div class="pointer flex-end"> <div class="container-next-button"> <div class="app-loader loader-border app-loader-button" *ngIf="loading"> <div class="loader"> <div class="la-ball-pulse loaderColor"> <div></div> <div></div> <div></div> </div> </div> </div> <button class="btn next-btn float-right error" (click)="goToNext(undefined)" role="button">Next </button> </div> </div> </div> </div>

página.ts

 enableEditing(){ this.checkEdit = !this.checkEdit; } goToNext(customer){ // navigate to another page }
about 4 years ago · Santiago Trujillo
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!