Dropdown Disabling

This feature will allow users to disable the dropdown and restrict the access in to dropdown data fields.

What You Will See

Select
import { Component } from '@angular/core';

import { ExampleData } from 'helper-models';

import { DataFetchService } from 'helper-services';

@Component({
  selector: 'app-disabling-usage',
  templateUrl: './disabling-usage.component.html'
})
export class DisablingUsageComponent {
  public items: ExampleData[];

  constructor(private dataFetchService: DataFetchService) {
    this.items = this.dataFetchService.fetchStaticData();
  }
}

Basic Usage

For disable the dropdown, it is required to set value as true for disabled property. by default it's value is false.

  <ng-dropdown
    ...
    [disabled]="true">
  </ng-dropdown>
Item Disabling
Translations
API Doc for Dropdown Disabling