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

Afform - Fix form submit button #19460

Merged
merged 1 commit into from
Feb 1, 2021
Merged

Conversation

colemanw
Copy link
Member

Overview

Fixes a recent regression in form submit buttons

Before

Clicking "Submit" on an afform did nothing.

After

Fixed.

Technical Details

AfForm component needed to wait for $onInit before all variables were available.

@civibot
Copy link

civibot bot commented Jan 29, 2021

(Standard links)

@civibot civibot bot added the master label Jan 29, 2021
@colemanw
Copy link
Member Author

@totten this fixes the bug you noticed in #19438 (comment)

@eileenmcnaughton
Copy link
Contributor

test this please

@seamuslee001
Copy link
Contributor

I tested this on a basic Afform and it worked

@seamuslee001 seamuslee001 merged commit 6fa44b7 into civicrm:master Feb 1, 2021
@seamuslee001 seamuslee001 deleted the afformFix branch February 1, 2021 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants