- Issue created by @heavystonehead
- 🇩🇪Germany jurgenhaas Gottmadingen
Would you mind testing with the latest Gin version (or the dev version) first?
- 🇩🇪Germany jurgenhaas Gottmadingen
So, am I getting this right, there is this hierarchy:
- node
- paragraph
- block
- webform
That sounds scary, like asking for trouble ;-)
However, you're saying that the save button disappears. Which one? From the node?
But we do have a similar scenario working where the paragraph has an entity reference field on webforms. So similar to yours but without a block in the middle. And that works just fine, we've never had any issue with that.
- 🇩🇪Germany heavystonehead
Sorry, I forgot a detail. I also used the "Layout Paragraphs" for the design, which displays the block as a displayed entity. I only noticed this now when I wanted to recreate it in a new installation.
Webfrom:
- existing contact form
Block:
- add Block Webform: select contact form (WF Contact) (any section)
Paragraph:
- Paragraph Field: Block (Reference - other - Block; Displayed Entity)
Content type:
- Test content type: Field referenced to Paragraph - Block
- Use "Layout Paragraphs" for input (the form is changed here) <- this means that the save field now disappears in the theme, even if you only enter dummy text instead of the form in the template. - 🇦🇺Australia gumnut
I can confirm we are also having the same issue with the same setup. If I move back to Claro the save button appears again
- 🇮🇹Italy sebastiano.riva
In general if I have blocks shortcode: [block:] (in my case, using administration theme when editing) and block have a submit button, is not possible save the page. Really a problem. Let us know. Thanks
- 🇺🇸United States inversed
I have the same issue here. Switching to Claro restores the save button on node edit pages with embedded webforms in Paragraphs. In my case, I am using an entity reference field to embed a webform in the Paragraph. I am also using Layout Paragraphs and it is set to show the webform fields and submit button.
This seems to be related to Drupal and module updates as I'm not seeing the issue on an out-of-date site.
Another workaround could be to change the Display Mode used in the Layout Paragraphs widget on the Form Display. If set to use a Preview display that only shows the webform title, then the webform's submit button would not be shown. However, retroactively changing the site to support this approach can be non-trivial depending on how many paragraph types exist and how many places are used to attach them.
- 🇩🇪Germany sunlix Wesel
We have some similar issues related to the
layout_paragraphs
module. I had myself 🐛 Layout paragraphs breaks .gin-actions Closed: duplicate . Back in time the sticky-button feature resolved some behaviors. But now they are back.
I can also confirm the situation. In my case I usedsimplenews
, but it is in fact related to rendered forms in the backend withlayout_paragraphs
.