diff --git a/src/ng-multiselect-dropdown/src/multiselect.component.ts b/src/ng-multiselect-dropdown/src/multiselect.component.ts index e6e93f2..0c46e30 100644 --- a/src/ng-multiselect-dropdown/src/multiselect.component.ts +++ b/src/ng-multiselect-dropdown/src/multiselect.component.ts @@ -165,6 +165,10 @@ export class MultiSelectComponent implements ControlValueAccessor { this.onTouchedCallback = fn; } + // Set disable or enable status + setDisabledState(isDisabled: boolean): void { + this.disabled = isDisabled; + } // Set touched on blur @HostListener("blur") public onTouched() {