Skip to content

Commit 84dcffa

Browse files
committed
fix(cdk-experimental/toolbar): skip disabled default false
1 parent 59860c5 commit 84dcffa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cdk-experimental/toolbar/toolbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class CdkToolbar<V> {
9595
orientation = input<'vertical' | 'horizontal'>('horizontal');
9696

9797
/** Whether disabled items in the group should be skipped when navigating. */
98-
skipDisabled = input(true, {transform: booleanAttribute});
98+
skipDisabled = input(false, {transform: booleanAttribute});
9999

100100
/** Whether the toolbar is disabled. */
101101
disabled = input(false, {transform: booleanAttribute});

src/components-examples/cdk-experimental/toolbar/cdk-toolbar-configurable/cdk-toolbar-configurable-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {CdkToolbar, CdkToolbarWidget} from '@angular/cdk-experimental/toolbar';
2626
],
2727
})
2828
export class CdkToolbarConfigurableExample {
29-
skipDisabled = new FormControl(true, {nonNullable: true});
29+
skipDisabled = new FormControl(false, {nonNullable: true});
3030
wrap = new FormControl(true, {nonNullable: true});
3131
toolbarDisabled = new FormControl(false, {nonNullable: true});
3232
orientation: 'vertical' | 'horizontal' = 'horizontal';

0 commit comments

Comments
 (0)