This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Can not set "method" dynamically #80
Labels
Comments
That's correct. The custom element does not current have an |
I'm not feeling to be good enough in JS to write production code :( |
This library is pretty small and, I think, straightforward. Just give it a go and I'll clean it up if necessary and will also take care of the unit test. |
Very rough solution would be to do this in ajax-form.js
|
No need for a mutation observer. Instead, I would suggest registering an attributeChangedCallback. |
I took a stab at this in #92 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I have a form like this:
Form works well and submits
DELETE
request under the URL represented byactionUrl
But when I do like this:
Form submits
GET
request underactionUrl
even though I set it todelete
The text was updated successfully, but these errors were encountered: