-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(select): make select full width when with a stacked/floating label
if it is with a floating label, the label will stay stacked instead of floating closes #5715
- Loading branch information
1 parent
13b39b9
commit 4e37524
Showing
6 changed files
with
44 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import {App} from 'ionic-angular'; | ||
import {App, Page} from 'ionic-angular'; | ||
|
||
|
||
@App({ | ||
template: '<ion-nav [root]="rootPage"></ion-nav>' | ||
}) | ||
class E2EApp { | ||
rootPage = PageOne; | ||
} | ||
|
||
@Page({ | ||
templateUrl: 'main.html' | ||
}) | ||
class E2EApp {} | ||
class PageOne {} |
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 |
---|---|---|
|
@@ -37,7 +37,10 @@ | |
|
||
<ion-item> | ||
<ion-label stacked>Label 6</ion-label> | ||
<ion-input value="[email protected]" type="email"></ion-input> | ||
<ion-select [(ngModel)]="gender"> | ||
<ion-option value="f" checked="true">Female</ion-option> | ||
<ion-option value="m">Male</ion-option> | ||
</ion-select> | ||
</ion-item> | ||
|
||
<ion-item> | ||
|
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