Is it possible to create a nested select menu similar to the example select screenshot menu below, using my mat-select? When a user selects an item from the REPM mat select, it should display the Master Broker Company menu on the right side. Thanks.
#example select
https://i.sstatic.net/oZbi1.png
#html code
<div style="margin-top: 8px;margin-left:8px;">
<mat-form-field appearance="fill" class="transaction-control-filter">
<mat-label class="transaction-detail-header-label">REPM</mat-label>
<mat-select #rempselect multiple (openedChange)="changeREMPFilter($event)">
<div class="select-all-property-transaction-list">
<mat-checkbox color="primary" [(ngModel)]="allSelectedREMP" [ngModelOptions]="{standalone: true}"
(change)="toggleAllSelectionREMP()">Select All</mat-checkbox>
</div>
<mat-option (click)="optionClickREMP()" *ngFor="let remp of repmList" [value]="remp.display">
{{remp.display}}
</mat-option>
</mat-select>
</mat-form-field>
</div>
<div style="margin-top: 8px;margin-left:8px;">
<mat-form-field appearance="fill" class="transaction-control-filter">
<mat-label class="transaction-detail-header-label">Master Broker Company</mat-label>
<mat-select #companyselect multiple (openedChange)="changeCompanyFilter($event)">
<div class="select-all-property-transaction-list">
<mat-checkbox color="primary" [(ngModel)]="allSelectedMasterBrokerCompany" [ngModelOptions]="{standalone: true}"
(change)="toggleAllSelectionCompany()">Select All</mat-checkbox>
</div>
<mat-option (click)="optionClickMasterBroker()" *ngFor="let masterbroker of transactionMasterBrokerCompany" [value]="masterbroker.display">
{{masterbroker.display}}
</mat-option>
</mat-select>
</mat-form-field>
</div>
#this is my existing mat select