Closed lovasoa closed 9 months ago
button
component could add
form
row-level property that takes a form idformaction
row-level property to allow multiple buttons to target the same formid
top-level property @Pieter3033
Hi, love the idea.
You should have in mind that one button should probably be able to handle multiple form submissions, considering that a form could only have one title. (As the title is a Top-level parameter [Please correct me if I'm wrong]) (The title separates the different inputs for the forms.)
Just spitballing here, but maybe adding a array of form id's
in the button component, which will allow the button to handle multiple form submissions?
Unfortunately that is not something that browsers do. HTML only allows one button to submit one form. But we could add intermediate titles, and fieldsets inside the form.
I see, I'll have to do some research and get back to this topic.
Implemented in 8d3c8dcf340770eaa4498ccef6a4b54721a39aac . It will be in the next release :tada:
Discussed in https://github.com/lovasoa/SQLpage/discussions/112