Skip to content

Conversation

@heynazmul
Copy link

@heynazmul heynazmul commented Feb 4, 2025

Fix x-transition attribute handling in Blade components

When using x-transition in a component:
content

Current output:
<div x-transition="x-transition">content</div>

Expected output:
<div x-transition>content</div>

  • Added test case to verify behavior
  • Fixed attribute handling for Alpine.js directives

Fixes #54015

heynazmul added 2 commits February 4, 2025 20:07
- Added test case for x-transition attribute
- Ensures x-transition doesn't get value='x-transition'

Fixes laravel#54015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Laravel component issue with Alpinejs

2 participants