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 ability to add items to an empty fieldset #24797

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

colemanw
Copy link
Member

Overview

This fixes a bug in the AfformAdmin GUI which prevents adding items to an empty fieldset.

Before

  1. Add an empty fieldset to an afform (or delete all the contents of a fieldset).
  2. Save the form and exit the edit screen.
  3. Go back to edit the form.
  4. Try dragging anything into to that fieldset. It doesn't work.

After

Fixed, with test.

@civibot
Copy link

civibot bot commented Oct 24, 2022

(Standard links)

@civibot civibot bot added the master label Oct 24, 2022
@seamuslee001
Copy link
Contributor

Looks good to me

@seamuslee001 seamuslee001 merged commit a3d0020 into civicrm:master Oct 24, 2022
@seamuslee001 seamuslee001 deleted the afformChildren branch October 24, 2022 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants