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

christogonus's avatar

christogonus wrote a comment+100 XP

3mos ago

Leveraging AI for Laravel Development: Ep 2, Laravel Boost is a Must

I am not sure where I have missed the lines. I have watched the video twice and still can't get the MCP to show green

https://prnt.sc/KXtYgzC3xP1p

Any help will be appreciated.

christogonus's avatar

christogonus liked a comment+100 XP

3mos ago

Everything New in Livewire 4: Ep 13, Optimistic UI with wire:show

@christogonus selectedOption becomes an object, not an array, after selection—so .length is undefined; use an object-safe check like:

wire:show="selectedOption.id"
christogonus's avatar

christogonus wrote a comment+100 XP

3mos ago

Everything New in Livewire 4: Ep 13, Optimistic UI with wire:show

Trying to replicate this in an app, but not getting same output.

The select option and button to select shows when $selectedOption is empty array, and hidden when when value is selected. But the content div doesnt show after data is populated.