We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4e0a1 commit 9482b6bCopy full SHA for 9482b6b
src/auto-check-element.ts
@@ -248,7 +248,7 @@ async function check(autoCheckElement: AutoCheckElement) {
248
const state = states.get(autoCheckElement)
249
250
// If some attributes are missing we want to exit early and make sure that the element is valid.
251
- if (!src || (isHttpPost && !csrf) || !state) {
+ if (!src || (this.httpMethod && !csrf) || !state) {
252
if (autoCheckElement.required) {
253
input.setCustomValidity('')
254
}
0 commit comments