November Happy Hour will be moved to Thursday December 5th.

Duplicate rendering of paragraphs in EPiserver.Forms 5.6.0

Vote:
 

Hello, 

there was a defect introduced in EPiserver Forms 5.6.0 causing elements of the type Rich text (with placeholders) to render twice.

Steps to reproduce:

EPiServer.CMS 12.26.1
EPiServer.Forms 5.6.0
EPiServer.Forms.Core 5.6.0
EPiServer.Forms.UI 5.6.0

  1. Create a new Form.
  2. Add a field of type Rich text (with placeholders).
  3. Enter the text Test.
  4. Use the form on a published page.
  5. Publish the form.
  6. View the published page.
  7. Test is rendered twice

Notice that the rendering works as expected when inside the edit on page -window

<div class="Form__Element FormParagraphText Form__Element--NonData" data-f-element-name="__field_243642" data-f-element-nondata="">        <div id="6beb4576-e086-4d0e-b180-bb1909b71038">
<p>Test</p>        </div>
        <div id="6beb4576-e086-4d0e-b180-bb1909b71038__OriginalText" class="Form__Original__ParagraphText">
<p>Test</p>        </div>
</div>

kindly // Fredrik Johansson

#317465
Edited, Feb 21, 2024 16:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.