| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-11-23 19:53:38 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-11-23 19:53:38 UTC |
| parent | 044d762adaab490d483e265e17792c7a5cd286f2 |
| borogove/Command.hx | +1 | -1 |
diff --git a/borogove/Command.hx b/borogove/Command.hx index b47c697..8ed00e6 100644 --- a/borogove/Command.hx +++ b/borogove/Command.hx @@ -73,7 +73,7 @@ class CommandSession { var toSubmit = null; if (data != null || extendedAction) { toSubmit = forms[formIdx ?? 0].submit(data); - if (toSubmit == null) return Promise.reject("Invalid submission"); + if (toSubmit == null && action != "cancel" && action != "prev") return Promise.reject("Invalid submission"); } if (extendedAction) {