Skip to content
New issue

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

BUGFIX: Update form state upon element submission #160

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

bwaidelich
Copy link
Member

Fixes a regression that was introduced with #149 that led to onSubmit() callbacks to only get hold of the form state of previous pages.

With this fix $formRuntime->getFormState()->getFormValues() in a custom element will return the previously handled form values, even of the current form page.

Fixes: #156

Fixes a regression that was introduced with #149 that led to `onSubmit()`
callbacks to only get hold of the form state of previous pages.

With this fix `$formRuntime->getFormState()->getFormValues()` in a
custom element will return the previously handled form values, even of the
current form page.

Fixes: #156
@bwaidelich bwaidelich merged commit 2a4cd1f into master Sep 13, 2022
@bwaidelich bwaidelich deleted the bugfix/156-make-form-state-available-onsubmit branch September 13, 2022 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Form values no longer available in custom form elements
1 participant