DenoDDeno
Powered by
patrickmP
Denoβ€’2y agoβ€’
2 replies
patrickm

Resetting forms with f-partial-nav

Is there a predefined way to reset inputs in forms with deactivated client navigation ? I have a form input that sends a post request and receives a partial that is appended to a list. It works well, except the input keeps the old value even after the request is processed, I'd like it to reset.

(I know I can easily do this in js, but there might be declarative way to do it that I didnt see in the docs)
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Partial with Forms
anggoranAanggoran / help
2y ago
How to use `f-partial` from Fresh?
martpetMmartpet / help
3y ago
Navigating back after interacting with a Partial
faheemFfaheem / help
2y ago
Incorrect documentation example (partial mocking)
Jess182JJess182 / help
10mo ago