analogjs / analog

The fullstack meta-framework for Angular. Powered by Vite and Nitro
https://analogjs.org
MIT License
2.59k stars 250 forks source link

outputFromObservable does not emit from SFC component #1381

Closed nivekcode closed 1 month ago

nivekcode commented 1 month ago

Please provide the environment you discovered this bug in.

Analog: 1.8.2 Angular: 18.2.7

Which area/package is the issue in?

vite-plugin-angular

Description

When we use SFC and try to emit an output using the outputFromObservable the output is not emitting any event. Normal outputs emit correctly in SFC. If we use outputFromObservable outside a SFC everything works as expected.

Please provide the exception or error you saw

No response

Other information

I made a reproduction example here: https://github.com/kreuzerk/output-test

I would be willing to submit a PR to fix this issue

nartc commented 1 month ago

@nivekcode can you give latest beta a try?