-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: (core)loading spinner for select (#1587)
* added changed icon * changed to boolean * add rotation * dissalowing selection if loading * change icon to spinner * reput dropdown and clickable feature * fix color for spinner * removed blue * add implimentation of designers for loading spinner * resolved conflicts * add busy-indicator * add busy indicator to select
- Loading branch information
1 parent
982fd89
commit 094ac5f
Showing
8 changed files
with
132 additions
and
83 deletions.
There are no files selected for viewing
60 changes: 37 additions & 23 deletions
60
...e/component-docs/select/examples/select-basic-example/select-basic-example.component.html
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 |
---|---|---|
@@ -1,28 +1,42 @@ | ||
<p>Selected Value: {{this.selectOneValue}}</p> | ||
<fd-select [(value)]="selectOneValue" | ||
placeholder="Select an option..."> | ||
<fd-option value="apple">Apple</fd-option> | ||
<fd-option value="pineapple">Pineapple</fd-option> | ||
<fd-option value="tomato">Tomato</fd-option> | ||
<fd-option value="strawberry">Strawberry</fd-option> | ||
<p>Selected Value: {{ this.selectOneValue }}</p> | ||
|
||
<fd-select [(value)]="selectOneValue" [loading]="true" placeholder="Select an option..."> | ||
<div *ngFor="let fruit of emptyValues"> | ||
<fd-option value="fruit">{{ fruit }}</fd-option> | ||
</div> | ||
</fd-select> | ||
|
||
<fd-select | ||
class="fd-select-example" | ||
[(value)]="selectOneValue" | ||
[loading]="values == null" | ||
placeholder="Select an option..." | ||
> | ||
<div *ngFor="let fruit of values"> | ||
<fd-option value="fruit">{{ fruit }}</fd-option> | ||
</div> | ||
</fd-select> | ||
|
||
<fd-select class="fd-select-example" | ||
[(value)]="selectTwoValue" | ||
[compact]="true" | ||
placeholder="Compact select"> | ||
<fd-option value="apple">Apple</fd-option> | ||
<fd-option value="pineapple">Pineapple</fd-option> | ||
<fd-option value="tomato">Tomato</fd-option> | ||
<fd-option value="strawberry">Strawberry</fd-option> | ||
<fd-select | ||
class="fd-select-example" | ||
[(value)]="selectTwoValue" | ||
[loading]="values == null" | ||
[compact]="true" | ||
placeholder="Compact select" | ||
> | ||
<div *ngFor="let fruit of values"> | ||
<fd-option value="fruit">{{ fruit }}</fd-option> | ||
</div> | ||
</fd-select> | ||
|
||
<fd-select class="fd-select-example" | ||
[(value)]="selectThreeValue" | ||
[disabled]="true" | ||
placeholder="Disabled select"> | ||
<fd-option value="apple">Apple</fd-option> | ||
<fd-option value="pineapple">Pineapple</fd-option> | ||
<fd-option value="tomato">Tomato</fd-option> | ||
<fd-option value="strawberry">Strawberry</fd-option> | ||
<fd-select | ||
class="fd-select-example" | ||
[(value)]="selectThreeValue" | ||
[loading]="values == null" | ||
[disabled]="true" | ||
placeholder="Disabled select" | ||
> | ||
<div *ngFor="let fruit of values"> | ||
<fd-option value="fruit">{{ fruit }}</fd-option> | ||
</div> | ||
</fd-select> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ | |
</fd-select> | ||
|
||
|
||
|
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
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