Disable text formatting for SfTextInputLayout

Hi I am using the SfTextInputLayout in my project and I notice that if I copy text from external app, for example from browser and paste it into a text entry with  SfTextInputLayout then the text would be in the original formatting. So for example, if a pasted text is a bold text then it will appear as a bold text in the SfTextInputLayout. I would like to disable the formatting for SfTextInputLayout so any pasted text would look as simple text. Please look at the screenshot below: the "What is Lorem I" is pasted text which have different formatting



1 Reply

VR Vignesh Ramesh Syncfusion Team March 15, 2022 07:26 PM UTC

SfTextInputLayout is just a layout control that contains an input view with the decorating elements like helper label, hint label, error label, etc around it. The behavior of text formatting is determined by the input view, such as Entry, Editor, etc. Also, it is the general behavior of entry and editor to display the text with the same copied text format while pasting it in, and we are not handling it on our side.


Loader.
Up arrow icon