Skip to content

Commit c05be9c

Browse files
authored
Merge pull request #127 from Southern-Exposure-Seed-Exchange/rinn7e/fix-form-submit
Fix form submit
2 parents 753af54 + 1c2145c commit c05be9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/Pages/Checkout.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ view model authStatus locations checkoutDetails =
19291929
[ rawHtml checkoutDetails.disabledMessage ]
19301930

19311931
else
1932-
form []
1932+
form [ onSubmit (Submit Stripe) ]
19331933
[ processingOverlay
19341934
, paymentConfirmationOverlay
19351935
, genericErrorText hasErrors
@@ -2030,7 +2030,7 @@ view model authStatus locations checkoutDetails =
20302030
Button.Disabled
20312031

20322032
else
2033-
Button.TriggerMsg (Submit Stripe)
2033+
Button.FormSubmit
20342034
}
20352035
]
20362036
]

0 commit comments

Comments
 (0)