0

I am using material 2 in angular 4 is there any way to keep the the <mat-menu> open up until I don't click on the create button to close

<mat-menu #menu="matMenu">
    <span class="new-Language padding-left-8 questionnary-tr">New Language</span>
    <div style="clear:both"></div>
    <img class="flag" [src]="selectedFlag" />
    <mat-form-field>
        <mat-select [(ngModel)]="selectedcountry" (change)="checkflag(selectedcountry)">
            <mat-option  *ngFor="let language of languages" [value]="language.country">
            {{language.country}}</mat-option>
        </mat-select>
    </mat-form-field>
    <button mat-button class="btnBackground">CREATE</button>
</mat-menu>
Raj Rana
  • 419
  • 2
  • 6
  • 18

0 Answers0