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 f0e5416 commit 9f48740Copy full SHA for 9f48740
src/dialog.js
@@ -37,11 +37,11 @@ export default function (Alpine) {
37
*/
38
function dialogSubmit(event) {
39
if (
40
- (event.target.getAttribute("method") === "dialog" ||
41
- event.submitter?.getAttribute("formmethod") === "dialog") &&
42
- !canEvaluate
+ event.target.getAttribute("method") === "dialog" ||
+ event.submitter?.getAttribute("formmethod") === "dialog"
43
) {
44
event.preventDefault();
+ evaluate();
45
}
46
47
0 commit comments