Fix an issue where a method was not expecting a parameter

This commit is contained in:
Raoul Snyman 2020-12-22 21:49:31 -07:00
parent d8a81bd9ad
commit 7a09dd85d6
Signed by: raoul
GPG Key ID: F55BCED79626AE9C
2 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<h3>Search</h3> <h3>Search</h3>
<form #searchForm="ngForm"> <form #searchForm="ngForm">
<mat-form-field> <mat-form-field>
<mat-select [(ngModel)]="selectedPlugin" (selectionChange)="onPluginChange($event)" name="selectedPlugin" placeholder="Search for:"> <mat-select [(ngModel)]="selectedPlugin" (selectionChange)="onPluginChange()" name="selectedPlugin" placeholder="Search for:">
<mat-option *ngFor="let plugin of searchPlugins" name="searchPlugins" [value]="plugin.key"> <mat-option *ngFor="let plugin of searchPlugins" name="searchPlugins" [value]="plugin.key">
{{plugin.name}} {{plugin.name}}
</mat-option> </mat-option>

View File

@ -190,6 +190,13 @@
dependencies: dependencies:
tslib "^1.9.0" tslib "^1.9.0"
"@angular/flex-layout@^8.0.0-beta.27":
version "8.0.0-beta.27"
resolved "https://registry.yarnpkg.com/@angular/flex-layout/-/flex-layout-8.0.0-beta.27.tgz#a697d5a90e6d04c06b02ee872f88f384d1723f7c"
integrity sha512-qmpvQPesU4ZQ56IscwgmVRpK2UnyV+gwvXUql7TMv0QV215hLcHczjGsrKkLfW2By5E7XEyDat9br72uVXcPMw==
dependencies:
tslib "^1.7.1"
"@angular/forms@^8.2.8": "@angular/forms@^8.2.8":
version "8.2.14" version "8.2.14"
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-8.2.14.tgz#7d357c346a3884881beb044c50ec4a09d3d7ee8e" resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-8.2.14.tgz#7d357c346a3884881beb044c50ec4a09d3d7ee8e"