Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formbuilder events #479

Merged
merged 5 commits into from
Mar 20, 2024

Conversation

jamesj2
Copy link
Contributor

@jamesj2 jamesj2 commented Jul 12, 2023

Passing event listeners with x-splade-form using the "for" attribute (FormBuilder) doesn't work. This pull request adds the attributes to form-builder.blade.php.

// problem: @success never gets triggered
<x-splade-form :for="$form" @success="$splade.emit('form-success')"/>

@J87NL
Copy link
Contributor

J87NL commented Aug 3, 2023

Sounds good, I ran into this myself but didn't have the time to investigate and fix this. Thanks for this contribution!

@pascalbaljet
Copy link
Contributor

Thanks!

@pascalbaljet pascalbaljet merged commit a4b2280 into protonemedia:main Mar 20, 2024
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.

3 participants