mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: sync with main
This commit is contained in:
@@ -113,4 +113,6 @@ Note: You may encounter some other peer dependency issues not covered by the Ang
|
||||
7. Open `./github/workflows/build.yml` and find the `test-angular-e2e` job.
|
||||
8. Find the `apps` field under `matrix`.
|
||||
9. Add "ng14" to the `apps` field.
|
||||
10. Commit these changes and push.
|
||||
10. Open `./github/workflows/stencil-nightly.yml` and find the `test-angular-e2e` job.
|
||||
11. Repeat steps 8 and 9.
|
||||
12. Commit these changes and push.
|
||||
|
||||
@@ -55,14 +55,12 @@
|
||||
</ion-item>
|
||||
|
||||
<ion-item>
|
||||
<ion-label>Min</ion-label>
|
||||
<ion-input formControlName="inputMin" type="number"></ion-input>
|
||||
<ion-input label="Min" formControlName="inputMin" type="number"></ion-input>
|
||||
<pre>errors: {{ profileForm.controls['inputMin'].errors | json }}</pre>
|
||||
</ion-item>
|
||||
|
||||
<ion-item>
|
||||
<ion-label>Max</ion-label>
|
||||
<ion-input formControlName="inputMax" type="number"></ion-input>
|
||||
<ion-input label="Max" formControlName="inputMax" type="number"></ion-input>
|
||||
<pre>errors: {{ profileForm.controls['inputMax'].errors | json }}</pre>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
<form [formGroup]="form">
|
||||
<ion-item id="inputWithFloatingLabel">
|
||||
<ion-label color="primary" position="floating">Floating Label</ion-label>
|
||||
<ion-select multiple="false" formControlName="select">
|
||||
<ion-select label-placement="floating" multiple="false" formControlName="select">
|
||||
<ion-label slot="label" color="Primary">Floating Label</ion-label>
|
||||
<ion-select-option [value]="0">Option 0</ion-select-option>
|
||||
<ion-select-option [value]="1">Option 1</ion-select-option>
|
||||
</ion-select>
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<form [formGroup]="form">
|
||||
<ion-list>
|
||||
<ion-item>
|
||||
<ion-label>Textarea</ion-label>
|
||||
<ion-textarea formControlName="textarea"></ion-textarea>
|
||||
<ion-textarea label="Textarea" formControlName="textarea"></ion-textarea>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</form>
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
</p>
|
||||
|
||||
<app-value-accessor-test [formGroup]="form">
|
||||
<ion-checkbox formControlName="checkbox"></ion-checkbox>
|
||||
<ion-checkbox formControlName="checkbox">Checkbox</ion-checkbox>
|
||||
</app-value-accessor-test>
|
||||
</div>
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
This test checks the form integrations with ion-range to make sure values are correctly assigned to the form group.
|
||||
</p>
|
||||
<app-value-accessor-test [formGroup]="form">
|
||||
<ion-range formControlName="range"></ion-range>
|
||||
<ion-range label="Range" formControlName="range"></ion-range>
|
||||
</app-value-accessor-test>
|
||||
</div>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
</p>
|
||||
|
||||
<app-value-accessor-test [formGroup]="form">
|
||||
<ion-toggle formControlName="toggle"></ion-toggle>
|
||||
<ion-toggle formControlName="toggle">Toggle</ion-toggle>
|
||||
</app-value-accessor-test>
|
||||
</div>
|
||||
|
||||
@@ -22,6 +22,12 @@ FULL_BASE_DIR="${BASE_DIR}/."
|
||||
# The full path to the built application.
|
||||
BUILD_APP_DIR="${BUILD_DIR}/${APP_DIR}/"
|
||||
|
||||
# Make sure the full app directory exists.
|
||||
if [ ! -d $FULL_APP_DIR ]; then
|
||||
echo "Could not find test app: ${FULL_APP_DIR}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Make the build directory if it does not already exist.
|
||||
mkdir -p $BUILD_DIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user