We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The FormSubmitted event has a form property. However a submission is passed to it:
FormSubmitted
form
submission
(FormSubmitted::dispatch($submission)
The submission is correct, I believe the property should be $submission, not form.
$submission
Statamic version: 3.0.0
PHP version: 7.4
The text was updated successfully, but these errors were encountered:
Yeah, I felt this was a little odd/unintuitive too but just went with it in Captcha: https://github.com/aryehraber/statamic-captcha/blob/master/src/Listeners/ValidateFormSubmission.php#L22
Please give some warning if this gets changed so that I can update in the addon.
Sorry, something went wrong.
🤦
1112571
No branches or pull requests
Bug Description
The
FormSubmitted
event has aform
property. However asubmission
is passed to it:The submission is correct, I believe the property should be
$submission
, not form.Statamic version: 3.0.0
PHP version: 7.4
The text was updated successfully, but these errors were encountered: