Skip to content

[LiveComponent] How to clear input form fields? #144

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

Closed
sandoche opened this issue Sep 29, 2021 · 0 comments · Fixed by #250
Closed

[LiveComponent] How to clear input form fields? #144

sandoche opened this issue Sep 29, 2021 · 0 comments · Fixed by #250

Comments

@sandoche
Copy link

Hi,

I am working on a demo todo app using LiveComponent.
The project is here: https://github.com/sandoche/Symfony-ux-live-component-todo-list/

I manage to submit the form to create the tasks but I don't manage to clear the form input field.
Is there a way to do it directly from the LiveComponent or do I need to write javascript?

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 a pull request may close this issue.

1 participant