wizard999
9/30/2019 - 12:52 AM

mat dropdown list


  <ng-container *ngIf="paymentList?.length">
    <div class="row margin-top-30 dropdownBox">
      <div class="col-sm">
        <label class="po-label">Select a payment from your wallet</label><br />
        <mat-form-field>
          <mat-select  [(value)]="selectedPayment" (change)="selectPaymentMethod();">
            <mat-option value="{{payment.value}}" *ngFor="let payment of paymentList">{{payment.text}}</mat-option>
          </mat-select>
        </mat-form-field>
      </div>
    </div>