File tree Expand file tree Collapse file tree 3 files changed +212
-212
lines changed
Expand file tree Collapse file tree 3 files changed +212
-212
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class ComboboxTreePattern<V>
3232 getActiveItem = ( ) => this . inputs . activeItem ( ) ;
3333
3434 /** The list of items in the tree. */
35- items = computed ( ( ) => this . inputs . allItems ( ) ) ;
35+ override items = computed ( ( ) => this . inputs . items ( ) ) ;
3636
3737 /** The tab index for the tree. Always -1 because the combobox handles focus. */
3838 override tabIndex : SignalLike < - 1 | 0 > = ( ) => - 1 ;
@@ -88,7 +88,7 @@ export class ComboboxTreePattern<V>
8888 getItem = ( e : PointerEvent ) => this . _getItem ( e ) ;
8989
9090 /** Retrieves the currently selected items in the tree */
91- getSelectedItems = ( ) => this . inputs . allItems ( ) . filter ( item => item . selected ( ) ) ;
91+ getSelectedItems = ( ) => this . inputs . items ( ) . filter ( item => item . selected ( ) ) ;
9292
9393 /** Sets the value of the combobox tree. */
9494 setValue = ( value : V | undefined ) => this . inputs . values . set ( value ? [ value ] : [ ] ) ;
You can’t perform that action at this time.
0 commit comments