Skip to content

Commit 203e924

Browse files
committed
hx-no-form-include attribute
1 parent 5ef6f33 commit 203e924

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

dist/htmx.amd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3513,7 +3513,7 @@ var htmx = (function() {
35133513
}
35143514

35153515
// for a non-GET include the closest form
3516-
if (verb !== 'get') {
3516+
if (verb !== 'get' && !closest(elt, '[hx-no-form-include]')) {
35173517
processInputValue(processed, priorityFormData, errors, closest(elt, 'form'), validate)
35183518
}
35193519

dist/htmx.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3512,7 +3512,7 @@ var htmx = (function() {
35123512
}
35133513

35143514
// for a non-GET include the closest form
3515-
if (verb !== 'get') {
3515+
if (verb !== 'get' && !closest(elt, '[hx-no-form-include]')) {
35163516
processInputValue(processed, priorityFormData, errors, closest(elt, 'form'), validate)
35173517
}
35183518

dist/htmx.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3512,7 +3512,7 @@ var htmx = (function() {
35123512
}
35133513

35143514
// for a non-GET include the closest form
3515-
if (verb !== 'get') {
3515+
if (verb !== 'get' && !closest(elt, '[hx-no-form-include]')) {
35163516
processInputValue(processed, priorityFormData, errors, closest(elt, 'form'), validate)
35173517
}
35183518

dist/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3512,7 +3512,7 @@ var htmx = (function() {
35123512
}
35133513

35143514
// for a non-GET include the closest form
3515-
if (verb !== 'get') {
3515+
if (verb !== 'get' && !closest(elt, '[hx-no-form-include]')) {
35163516
processInputValue(processed, priorityFormData, errors, closest(elt, 'form'), validate)
35173517
}
35183518

dist/htmx.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/htmx.min.js.gz

11 Bytes
Binary file not shown.

src/htmx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3512,7 +3512,7 @@ var htmx = (function() {
35123512
}
35133513

35143514
// for a non-GET include the closest form
3515-
if (verb !== 'get') {
3515+
if (verb !== 'get' && !closest(elt, '[hx-no-form-include]')) {
35163516
processInputValue(processed, priorityFormData, errors, closest(elt, 'form'), validate)
35173517
}
35183518

0 commit comments

Comments
 (0)