Level 2
I'm having the same issue. The actual code is working fine. Did you get anywhere with it?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I'm on this warning since this morning, but I can't solve it.
I emit an event from a child component to the parent component.
I get this warning.
Extraneous non-emits event listeners (close) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.
I have tried to declare the event inside the emits option, but it doesn't change anything, I continue to get the warning.
What does this warning signify ?
What can I do to not have this warning any more ?
Thanks for your help.
V
Please or to participate in this conversation.