mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
refactor(angular): remove angular 14 and 15 dependencies (#29169)
Issue number: Internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> With Ionic 8 we are dropping Angular 14 and 15 support. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - This PR officially drops Angular 14 and 15 support. Note: The work to do this was done a while ago, but this branch was never merged into `feature-8.0`. The breaking change was already noted in the breaking change guide, so this is not an additional breaking change on top of what was already specified. ## Does this introduce a breaking change? - [x] Yes - [ ] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> --------- Co-authored-by: Brandy Carney <brandyscarney@users.noreply.github.com> Co-authored-by: Maria Hutt <thetaPC@users.noreply.github.com> Co-authored-by: Amanda Johnston <90629384+amandaejohnston@users.noreply.github.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { CommonModule, JsonPipe, KeyValuePipe } from "@angular/common";
|
||||
import { NgFor, JsonPipe, KeyValuePipe } from "@angular/common";
|
||||
import { Component, Input } from "@angular/core";
|
||||
import { FormGroup, FormsModule, ReactiveFormsModule } from "@angular/forms";
|
||||
|
||||
@ -11,13 +11,7 @@ import { FormGroup, FormsModule, ReactiveFormsModule } from "@angular/forms";
|
||||
FormsModule,
|
||||
JsonPipe,
|
||||
KeyValuePipe,
|
||||
/**
|
||||
* NgFor directive is not available until Angular 15.
|
||||
* We import the CommonModule for now.
|
||||
*
|
||||
* TODO: FW-5197 Replace with NgFor when dropping Angular 14 support.
|
||||
*/
|
||||
CommonModule
|
||||
NgFor
|
||||
]
|
||||
})
|
||||
export class ValueAccessorTestComponent {
|
||||
|
||||
Reference in New Issue
Block a user