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

Contact paragraph: issue with >1 contact within the same paragraph #985

Open
trubach opened this issue Mar 5, 2024 · 0 comments
Open

Contact paragraph: issue with >1 contact within the same paragraph #985

trubach opened this issue Mar 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@trubach
Copy link
Contributor

trubach commented Mar 5, 2024

Describe the bug
The contact paragraph has the option to add additional contacts within the same paragraph. However, when viewing the page, only the first contact shows. The workaround is to add another contact paragraph and only have one in it.

To Reproduce

  1. Add a "Contact" paragraph to a content page.
  2. Fill out the first contact info
  3. Click the "Add Contact Content" button to add a 2nd contact
  4. Fill out the second contact info
  5. Save and view the page. The 2nd contact will not show up on the page display

Expected behavior
The 2nd contact will display on the page

Example
An example of this issue can be found on the Drupal Sandbox page at https://drupal-sandbox.webtheme.illinois.edu/paragraphs/contact

The last contact paragraph (Dr. Derek Nolan) has two contacts in it, but only one shows up.

Additional context
We could either restrict the Contact paragraph to only allow one "Contact Content" sub-paragraph, or update the template to display it correctly.

@trubach trubach added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant