Skip to content

Commit

Permalink
Merge pull request #194 from GSA/IAE-13129
Browse files Browse the repository at this point in the history
switching from (click) to output eventemitter(onClick)
  • Loading branch information
thomastighe authored Dec 20, 2018
2 parents c0f81c0 + dff0310 commit 389e91e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui-kit/components/modal/modal.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ <h3>{{title}}</h3>
<p *ngIf="description">{{description}}</p>
<ng-content></ng-content>
<div *ngIf="cancelButtonLabel || submitButtonLabel" class="usa-modal-content-btn-area">
<sam-button buttonType="tertiary" class="usa-button-outline usa-modal-content-cancel-btn" *ngIf="cancelButtonLabel" (click)="closeModal()" [buttonText]="cancelButtonLabel" [attr.id]="modalElIds?.cancelId"></sam-button>
<sam-button buttonType="secondary" class="usa-modal-content-submit-btn" *ngIf="submitButtonLabel" (click)="submitBtnClick()" [buttonText]="submitButtonLabel" [attr.id]="modalElIds?.submitId" [isDisabled]="submitButtonDisabled"></sam-button>
<sam-button buttonType="tertiary" class="usa-button-outline usa-modal-content-cancel-btn" *ngIf="cancelButtonLabel" (onClick)="closeModal()" [buttonText]="cancelButtonLabel" [attr.id]="modalElIds?.cancelId"></sam-button>
<sam-button buttonType="secondary" class="usa-modal-content-submit-btn" *ngIf="submitButtonLabel" (onClick)="submitBtnClick()" [buttonText]="submitButtonLabel" [attr.id]="modalElIds?.submitId" [isDisabled]="submitButtonDisabled"></sam-button>
</div>
</div>
</div>
Expand Down

0 comments on commit 389e91e

Please sign in to comment.