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

SearchKit - Facilitate popup forms #22490

Merged
merged 2 commits into from
Jan 13, 2022
Merged

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Jan 12, 2022

Overview

This adds two bits of utility code to facilitate adding a popup form to an Afform containing a Search Display.

Technical Details

  • New crmDialogPopup directive makes it possible to invoke an Angular popup form without any extra controller code (works much nicer with Afforms).
  • Updated SearchDisplay code to refresh the search results when any popup form in the Afform is submitted.

Comments

This is required by #22467 and veda-consulting-company/uk.co.vedaconsulting.mosaico#478

@civibot
Copy link

civibot bot commented Jan 12, 2022

(Standard links)

@civibot civibot bot added the master label Jan 12, 2022
@colemanw colemanw changed the base branch from master to 5.46 January 12, 2022 22:54
@civibot civibot bot added 5.46 and removed master labels Jan 12, 2022
This expands the listener to the entire surrounding <form> element,
in case there are related popups on the Afform.
@seamuslee001
Copy link
Contributor

I tested this in conjunction with the mosaico PR and it works well merging

@seamuslee001 seamuslee001 merged commit 8ecbb24 into civicrm:5.46 Jan 13, 2022
@seamuslee001 seamuslee001 deleted the refreshButton branch January 13, 2022 01:48
colemanw added a commit to JMAConsulting/uk.co.vedaconsulting.mosaico that referenced this pull request Jan 13, 2022
colemanw added a commit to JMAConsulting/uk.co.vedaconsulting.mosaico that referenced this pull request Jan 13, 2022
colemanw added a commit to JMAConsulting/uk.co.vedaconsulting.mosaico that referenced this pull request Jan 14, 2022
colemanw added a commit to JMAConsulting/uk.co.vedaconsulting.mosaico that referenced this pull request Feb 1, 2022
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.

2 participants