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)
2 Replies