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
- Create a new Form.
- Add a field of type Rich text (with placeholders).
- Enter the text Test.
- Use the form on a published page.
- Publish the form.
- View the published page.
- 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