Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: OlgaLarina <olga.larina.dev@gmail.com>
  • Loading branch information
OlgaLarina and OlgaLarina committed Apr 27, 2024
1 parent 4ed68bc commit e5ccfef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ export class ObjectSelectorModel extends Base {
this.listModelValue = new ListModel<Action>(
this.selector.items,
(item: IAction) => { onClose(item.data); },
true, selectedItem,
(text: string) => { this.selector.filterByText(text); });
true, selectedItem);
this.listModelValue.setOnFilterStringChangedCallback((text: string) => { this.selector.filterByText(text); });
} else {
this.listModelValue.setItems(this.selector.items);
this.listModelValue.selectedItem = selectedItem;
Expand Down

0 comments on commit e5ccfef

Please sign in to comment.