Is it possible to avoid extra spacing on hint when using Leading View?

I'm using SfCombobox inside SfTextInputLayout, I have a list of contacts and when I select the contact I'm trying to show the name of the contact and the image in the entry space, and I show the image using LeadingView, but it add extra space to the hint. Is it possible to use LeadingView without adding extra space to Hint? I tried to use CustomView, but it doesn't seems nice


What I got:

Screenshot_1661469337.png



I would expect the hint to keep the same place, but it looks like it follow the input entry

Screenshot_1661469453.png


1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team August 26, 2022 12:36 PM UTC

We would like to inform that, we have positioned the hint label always at the top of the input view as per material design guidelines and the only way to position the Hint at the left end of the outline border when having LeadingView is to setting the LeadingViewPosition as Outside as like in the below code snippet.


[XAML]

<inputLayout:SfTextInputLayout Hint="Birth date"

                               ContainerType="Outlined"

                               LeadingViewPosition="Outside">



Loader.
Up arrow icon