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

Can`t use signal inputs with custom elements #54115

Closed
kkachniarz220 opened this issue Jan 27, 2024 · 2 comments
Closed

Can`t use signal inputs with custom elements #54115

kkachniarz220 opened this issue Jan 27, 2024 · 2 comments

Comments

@kkachniarz220
Copy link

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

core, elements

Is this a regression?

No

Description

When using signal inputs in custom element component and call it by () in template or cmp I'm getting an error ctx.<name_of_input> is not a function. If I call it as simple variable (without () it's ok).

Please provide a link to a minimal reproduction of the bug

https://github.com/kkachniarz220/angular-elements-signal-inputs

Please provide the exception or error you saw

`Uncaught TypeError: ctx.value is not a function`

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

Angular CLI: 17.1.1
Node: 18.18.0
Package Manager: npm 9.8.1
OS: win32 x64

Angular: 17.1.1
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1701.1
@angular-devkit/build-angular   17.1.1
@angular-devkit/core            17.1.1
@angular-devkit/schematics      17.1.1
@schematics/angular             17.1.1
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.3

Anything else?

No response

@JoostK
Copy link
Member

JoostK commented Jan 27, 2024

Closing as duplicate of #53981

@JoostK JoostK closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2024
@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 27, 2024
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

2 participants