Skip to content

Commit d571ca8

Browse files
committed
refactor(dropdown-item): set default value of disabled prop to false
1 parent 1d72060 commit d571ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/coreui-angular/src/lib/dropdown/dropdown-item/dropdown-item.directive.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class DropdownItemDirective implements FocusableOption {
4040
* @return boolean
4141
* @default undefined
4242
*/
43-
readonly disabledInput = input(undefined, { transform: booleanAttribute, alias: 'disabled' });
43+
readonly disabledInput = input(false, { transform: booleanAttribute, alias: 'disabled' });
4444

4545
readonly disabledEffect = linkedSignal({
4646
source: this.disabledInput,

0 commit comments

Comments
 (0)