Skip to content

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Oct 30, 2023

Issue number: resolves #28431


What is the current behavior?

My previous attempt at fixing #28358 caused inputs to no longer be correctly proxied to the underlying components. This was an attempt to work around an underlying ng-packagr bug (see linked thread for more info).

What is the new behavior?

I decided it would be best to continue using ProxyCmp (since we know that works) and find an alternative to working around the ng-packagr bug. I spoke with the Angular team, and they recommended pulling the provider into its own object. forwardRef is now required since we are referencing the component before it is declared.

  • Revert 82d6309
  • Moves provider to an object to avoid ng-packagr issue
  • I reverted the proxy e2e tests. These are no longer needed since we are not ejecting from the typical ProxyCmp usage anymore.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev build: 7.5.3-dev.11698699090.1151d73f
Verified that the issue is fixed with the repro provided in #28431

Also verified that this does not regress the issue described in #28358.

@github-actions github-actions bot added the package: angular @ionic/angular package label Oct 30, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review October 30, 2023 20:59
Copy link
Contributor

@sean-perkins sean-perkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good!

@liamdebeasi liamdebeasi added this pull request to the merge queue Oct 31, 2023
Merged via the queue into main with commit 3b6e631 Oct 31, 2023
@liamdebeasi liamdebeasi deleted the FW-5499 branch October 31, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: angular standalone form control inputs not being proxied

2 participants