Auto-save edits to bubble title

This commit is contained in:
Kevin McConnell
2025-02-10 13:53:37 +00:00
parent fd1556b298
commit 4121f68f7d
3 changed files with 59 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
import { FetchRequest } from "@rails/request.js"
export async function submitForm(form) {
const request = new FetchRequest(form.method, form.action, {
body: new FormData(form)
})
return await request.perform()
}