Skip to content

Commit

Permalink
fix(select): fix groupBy type and add bufferAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbin committed Apr 20, 2024
1 parent b507097 commit 6856ca2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions projects/extensions/select/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[dropdownPosition]="dropdownPosition"
[groupBy]="groupBy"
[groupValue]="groupValue"
[bufferAmount]="bufferAmount"
[hideSelected]="hideSelected"
[isOpen]="isOpen"
[inputAttrs]="inputAttrs"
Expand Down
3 changes: 2 additions & 1 deletion projects/extensions/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ export class MtxSelect
@Input() clearOnBackspace = true;
@Input() compareWith!: CompareWithFn;
@Input() dropdownPosition: DropdownPosition = 'auto';
@Input() groupBy!: string | (() => void);
@Input() groupBy!: string | ((value: any) => any);
@Input() groupValue!: GroupValueFn;
@Input() bufferAmount = 4;
@Input() selectableGroup = false;
@Input() selectableGroupAsModel = true;
@Input() hideSelected = false;
Expand Down

0 comments on commit 6856ca2

Please sign in to comment.