diff --git a/src/dropdown/dropdown.component.html b/src/dropdown/dropdown.component.html index af034cbf..10190f2f 100644 --- a/src/dropdown/dropdown.component.html +++ b/src/dropdown/dropdown.component.html @@ -65,8 +65,8 @@ - {{ option.name }} + {{ option.name }} - \ No newline at end of file + diff --git a/src/dropdown/dropdown.component.ts b/src/dropdown/dropdown.component.ts index efabf0c5..08860cc1 100644 --- a/src/dropdown/dropdown.component.ts +++ b/src/dropdown/dropdown.component.ts @@ -642,8 +642,8 @@ export class MultiselectDropdownComponent } } - isCheckboxDisabled(option: IMultiSelectOption): boolean { - return this.disabledSelection || option.disabled; + isCheckboxDisabled(option?: IMultiSelectOption): boolean { + return this.disabledSelection || option && option.disabled; } checkScrollPosition(ev) {