i added enctype="multipart/form-data" to <form> element, but Pjax still dont want read my fileinput element <input type="file" />
i also added "form[action]" into Pjax. Pjax({ elements: "form[action]" })
when i click submit, i got this error Pjax switch fail: TypeError: Cannot read properti 'match' of null
maybe any suggestion for my case? thanks
i added `enctype="multipart/form-data"` to `<form>` element, but Pjax still dont want read my fileinput element `<input type="file" />`
i also added `"form[action]"` into Pjax.
`Pjax({ elements: "form[action]" })`
when i click submit, i got this error
`Pjax switch fail: TypeError: Cannot read properti 'match' of null`
maybe any suggestion for my case? thanks
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
i added
enctype="multipart/form-data"to<form>element, but Pjax still dont want read my fileinput element<input type="file" />i also added
"form[action]"into Pjax.Pjax({ elements: "form[action]" })when i click submit, i got this error
Pjax switch fail: TypeError: Cannot read properti 'match' of nullmaybe any suggestion for my case? thanks