SfRichTextEditor in SfDataForm FormItem Template improper rendering.

I am attempting to use an SfRichTextEditor component as a FormItem in an SfDataForm component in a .NET MAUI Blazor Hybrid application and am experiencing rendering issues on the RTE. The RTE renders with a width that exceeds the width of the form and the viewport. When I do not include a set of <Template/> tags in the <FormItem/>, around the RTE, the component width is rendered correctly, but is placed at the wrong position in the form, at the top. I am using Syncfusion.Blazor.* v28.2.4 packages. 


Link to Fiddle. Please note in the fiddle, the issue is seen when reducing the output screen size to a smaller width, representative of that of a mobile phone screen.



3 Replies 1 reply marked as answer

VJ Vinitha Jeyakumar Syncfusion Team February 10, 2025 09:29 AM UTC

Hi Hunter Malley,


Your reported issue can be resolved by customizing the CSS styles of form layout like below,

Code snippet:
 
<style>
    .e-data-form .e-form-layout {
         display: block;
     }
 </style>


Please check the modified sample below,


Regards,
Vinitha


Marked as answer

HM Hunter Malley February 10, 2025 01:44 PM UTC

That resolved the issue. 


Thank you.



VJ Vinitha Jeyakumar Syncfusion Team February 11, 2025 05:11 AM UTC

Hi Hunter Malley,


You are welcome.

Regards,
Vinitha

Loader.
Up arrow icon