Skip to content

[LiveComponent] resetForm() method to get a fresh form #884

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

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

weaverryan
Copy link
Member

Q A
Bug fix? no
New feature? yes
Tickets None - but from conversation on Slack
License MIT

Hi!

Makes it possible to submit a form to a LiveAction then "reset" the form so that you can allow the component to render again with a fresh form.

Cheers!

@94noni
Copy link
Contributor

94noni commented May 25, 2023

This one is nice 👍🏻

@weaverryan weaverryan merged commit da799e5 into symfony:2.x Jun 2, 2023
@weaverryan weaverryan deleted the live-reset-form branch June 2, 2023 15:58
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.

2 participants