Laravel Version
12
PHP Version
8.4
Database Driver & Version
No response
Description
While discussing #57235 I found that
@php($foo = "")
<x-link :title="$foo" >
renders as
Personally, I believe that this is unexpected and that empty strings and whitespace-only strings should not render the attribute.
Opinions? Do we have any appetite to change this in L13?
Steps To Reproduce
Component:
<a {{ $attributes }}>Blub</a>