-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
A very common use of JavaScript is updating the document as a reaction to change events, e.g. a search input that updates search results without refreshing the whole document.
Perhaps this usage can be declarative as well (as part of declarative interception, (3) in the explainer)?
The idea is that a form could have something like a live or autosubmit boolean attribute, that when active, any change event in the form would send a patch-navigation request based on the new FormData and update the DOM using whatever patches receives.
(This is not a lot more than an HTML version of form.addEventListener("change", () => form.requestSubmit()))
Metadata
Metadata
Assignees
Labels
No labels