Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular15 standalone component #48594

Closed
jiangyh1024 opened this issue Dec 27, 2022 · 5 comments
Closed

Angular15 standalone component #48594

jiangyh1024 opened this issue Dec 27, 2022 · 5 comments

Comments

@jiangyh1024
Copy link

Which @angular/* package(s) are the source of the bug?

forms, Don't known / other

Is this a regression?

Yes

Description

I want to export reactiveFormModule & a custom standalone directive using an array. and then Import the array into the components.

image

image

But the strange thing is the compiler will throw an error

image

However, removing the directive from the array and directly importing the directive do the trick. I really don't know what's the difference..

image

image

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

as desc

Please provide the environment you discovered this bug in (run ng version)

angular15

Anything else?

No response

@JeanMeche
Copy link
Member

JeanMeche commented Dec 27, 2022

I believe, this has been reported already by #48089 and fixed #48091.

The fix will be release with Angular 15.1 in circa 2 weeks 👍.
You can already try it by installing 15.1.0-next.3.

@alxhub
Copy link
Member

alxhub commented Dec 28, 2022

Closing as fixed by #48091

@alxhub alxhub closed this as completed Dec 28, 2022
@jiangyh1024
Copy link
Author

jiangyh1024 commented Jan 12, 2023

err, I've upgraded ng to 15.1.0, but the problem still exists.

image

image

image

@jiangyh1024
Copy link
Author

jiangyh1024 commented Jan 18, 2023

hi anybody ? this fix seems not included in 15.1.0 @alxhub

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants