Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincent15000's avatar

Livewire 3 : @entangle is not recognized

Hello,

I have this code inside a tag.

x-data="{ color: @entangle('form.color') }"

And I get this error.

Error: Invalid or unexpected token Expression: "{ color: @entangle('form.color') }"

It's not the first time that I use @entangle and usually it works fine.

And the next error is color isn't defined.

What am I doing wrong ?

Thanks for your help.

V

0 likes
1 reply
vincent15000's avatar
vincent15000
OP
Best Answer
Level 63

Wow sorry ... I just found the solution.

I have to use $wire.entangle instead of @entangle.

Is it yet possible to use @entangle with Livewire version 3 ?

1 like

Please or to participate in this conversation.