-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
When dragging a form onto the canvas, it does not set the "method" attribute in the markup (which is fine). However, the default "method" for a form is "GET" according to the HTML spec.
If you select the form block that you dragged onto the canvas and look at the component settings, the UI makes it look like the user has the "POST" method selected, since it is the first element in the select.
Recommendation: make the "GET" option the first element in the select so that it matches the default form behavior.
https://github.com/artf/grapesjs-plugin-forms/blob/master/src/components.js#L76
artf
Metadata
Metadata
Assignees
Labels
No labels