Skip to content

Commit 2f69c84

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export class DropdownCloseDirective implements AfterViewInit {
2020
/**
2121
* Disables a dropdown-close directive.
2222
* @return boolean
23-
* @default undefined
23+
* @default false
2424
*/
25-
readonly disabledInput = input(undefined, { transform: booleanAttribute, alias: 'disabled' });
25+
readonly disabledInput = input(false, { transform: booleanAttribute, alias: 'disabled' });
2626

2727
readonly disabled = linkedSignal({
2828
source: this.disabledInput,

0 commit comments

Comments
 (0)