Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular disable select dropdown

Dropdown1: <select [(ngModel)]="dropdown1">
  <option value="">Select</option>
  <option value="1">1</option>
  <option value="2">2</option>
</select>
<br/>
Dropdown2: <select [(ngModel)]="dropdown2">
  <option value="">Select</option>
  <option value="1">1</option>
  <option value="2">2</option>
</select>
<br/>
Dropdown3: <select [(ngModel)]="dropdown3">
  <option value="">Select</option>
  <option value="1">1</option>
  <option value="2">2</option>
</select>

<br/>
<button [disabled]="!(dropdown1 && dropdown2 && dropdown3)">Save</button>
 
PREVIOUS NEXT
Tagged: #angular #disable #select #dropdown
ADD COMMENT
Topic
Name
2+1 =