Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 7d30078

Browse files
authored
Merge pull request #144 from albert5287/fix_empty_first_option_in_dropdowns
delete empty mat-option,
2 parents a450333 + 2a9914e commit 7d30078

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

projects/angular-material-formio/src/lib/components/select/select.component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import SelectComponent from 'formiojs/components/select/Select.js';
2424
<div class="mat-option">
2525
<input class="mat-input-element" placeholder="Type to search" (input)="onFilter($event.target.value)">
2626
</div>
27-
<mat-option></mat-option>
2827
<mat-option *ngIf="!filteredOptionsLength" disabled>
2928
<span>Nothing was found</span>
3029
</mat-option>

0 commit comments

Comments
 (0)