File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,6 @@ export class CdkTablist {
116
116
/** Whether the tablist is disabled. */
117
117
disabled = input ( false , { transform : booleanAttribute } ) ;
118
118
119
- /** The ids of the current selected tab. */
120
- selectedIds = model < string [ ] > ( [ ] ) ;
121
-
122
119
/** The current index that has been navigated to. */
123
120
activeIndex = model < number > ( 0 ) ;
124
121
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface SelectOptions {
27
27
28
28
/** The required inputs for the tablist. */
29
29
export type TablistInputs = ListNavigationInputs < TabPattern > &
30
- Omit < ListSelectionInputs < TabPattern > , 'multiselectable' > &
30
+ Omit < ListSelectionInputs < TabPattern > , 'multiselectable' | 'selectedIds' > &
31
31
ListFocusInputs < TabPattern > & {
32
32
disabled : Signal < boolean > ;
33
33
} ;
@@ -113,6 +113,7 @@ export class TablistPattern {
113
113
...inputs ,
114
114
navigation : this . navigation ,
115
115
multiselectable : signal ( false ) ,
116
+ selectedIds : signal < string [ ] > ( [ ] ) ,
116
117
} ) ;
117
118
this . focusManager = new ListFocus ( { ...inputs , navigation : this . navigation } ) ;
118
119
}
You can’t perform that action at this time.
0 commit comments