-
Notifications
You must be signed in to change notification settings - Fork 914
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: don't fire scroll to end when scrollTop = 0 fixes #1018 * feat: adjust dropdown position on selection when multiple and appendTo closes #984 closes #899 closes #890 closes #1018 closes #1023 closes #1144 closes #1095 closes #1122 closes #1163 closes #955
- Loading branch information
1 parent
c552663
commit c2b094e
Showing
15 changed files
with
499 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ import { Component, ChangeDetectionStrategy } from '@angular/core'; | |
bindLabel="name" | ||
bindValue="name" | ||
groupBy="country" | ||
[multiple]="true" | ||
[(ngModel)]="selectedAccount"> | ||
<ng-template ng-optgroup-tmp let-item="item"> | ||
{{item.country || 'Unnamed group'}} | ||
|
@@ -149,7 +148,7 @@ import { Component, ChangeDetectionStrategy } from '@angular/core'; | |
` | ||
}) | ||
export class SelectGroupsComponent { | ||
selectedAccount = ['Samantha']; | ||
selectedAccount = 'Michael'; | ||
accounts = [ | ||
{ name: 'Jill', email: '[email protected]', age: 15, country: undefined, child: { state: 'Active' } }, | ||
{ name: 'Henry', email: '[email protected]', age: 10, country: undefined, child: { state: 'Active' } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.