Hi Tayyip Emre ÖRNEK,Greetings from the Syncfusion.We have checked the reported query and we would like to let you know that the CharMaxLength is displayed before the TrailingView. You can resolve this by adding the LeadingView to the SfTextInputLayout. Please go through the below link for more details.Please revert us for further investigation.Regards,Anand Raj S.
|
if (properties[i].ControlContainer.Entry.Appearance.IsReadOnly != true && properties[i].ControlContainer.Entry.IconSettings != null)
{
inputLayout.LeadingViewPosition = ViewPosition.Inside;
var label = new Label()
{
FontFamily = fontFamily,
Text = properties[i].ControlContainer.Entry.IconSettings.TrailingView.IconCs,
};
inputLayout.LeadingView = label;
var tap = new TapGestureRecognizer();
tap.Tapped += (s, e) =>
{
entry.Focus();
};
label.GestureRecognizers.Add(tap);
} |
Hi Tayyip Emre ÖRNEK,We have logged a bug report for the reported issue, and you can track the status of the bug from the below linkThis fix for the reported issue will be included on Jun 09, 2020.Until you can use LeadingView to resolve this as per the below code snippet:
if (properties[i].ControlContainer.Entry.Appearance.IsReadOnly != true && properties[i].ControlContainer.Entry.IconSettings != null){inputLayout.LeadingViewPosition = ViewPosition.Inside;var label = new Label(){FontFamily = fontFamily,Text = properties[i].ControlContainer.Entry.IconSettings.TrailingView.IconCs,};inputLayout.LeadingView = label;var tap = new TapGestureRecognizer();tap.Tapped += (s, e) =>{entry.Focus();};label.GestureRecognizers.Add(tap);}Regards,Anand Raj S.