Wednesday, 7 April 2021

Div hide based on dropdown value

  <div class=" col-sm-6">

              <kendo-dropdownlist [defaultItem]="'Select item...'"  [data]="RevocationReasons"[valuePrimitive]="true"[(ngModel)]="selectedValue">
              </kendo-dropdownlist>
          </div>
 <div *ngIf="selectedValue==='Key Compromised' ">
</div>

hide or show div based on the dropdown selected value

No comments:

Post a Comment

remove duplicates in an sorted array

  using System; public class HelloWorld {          public static void Main(string[] args)     {         int[] ar={2,2,3,3,4,6,6};          C...