Skip to content

Conversation

@tanthammar
Copy link
Contributor

This PR does the same as #20 but also avoids @Push('scripts')

Why:

  • alpine lazy load assets enables
    -- adding this form field to forms that are initially hidden
    -- avoids loading the script multiple times, if the field exists in multiple times on the same page
  • @Push('scripts') is generally a bad idea for livewire components
@ousid ousid merged commit a49cf62 into coderflexx:2.x Mar 1, 2025
1 check passed
@ousid
Copy link
Member

ousid commented Mar 1, 2025

Thank you!

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

Labels

None yet

2 participants