Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Duplicate rendering of paragraphs in EPiserver.Forms 5.6.0

$
0
0

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


Viewing all articles
Browse latest Browse all 9076

Trending Articles