The text position is not correct when using FlowDirection RightToLeft and arabic letters in hint label,helpertext and errortext
<sf:SfTextInputLayout x:Name="inputLayout"
FlowDirection="RightToLeft"
ContainerType="Outlined"
Hint="User name"
HelperText="please enter user name">
<sf:SfTextInputLayout.HintLabelStyle>
<sf:LabelStyle TextColor="Red" FontSize="15">
</sf:LabelStyle>
</sf:SfTextInputLayout.HintLabelStyle>
<Entry HorizontalOptions="Start"/>
</sf:SfTextInputLayout>
<sf:SfTextInputLayout x:Name="inputLayout2"
FlowDirection="RightToLeft"
ContainerType="Outlined"
Hint="اسم المستخدم"
HelperText="برجاء كتابة اسم امستخدم">
<sf:SfTextInputLayout.HintLabelStyle>
<sf:LabelStyle TextColor="Red" FontSize="15">
</sf:LabelStyle>
</sf:SfTextInputLayout.HintLabelStyle>
<Entry HorizontalOptions="Start"/>
</sf:SfTextInputLayout>
i am using Syncfusion toolkit 1.0.5 with .net Maui 9.0
i tested on emulator Android 15.0 ... didn't test on ios
Hi Jacobs,
We have validated the reported query and we are able to replicate the reported issue at our end. We would like to inform you that the problem reported was caused by a known issue in the framework itself, specifically on the Android platform when we use the Arabic language in the controls. We have already reported this issue, along with a replication project to the framework for resolution. Please refer to the issue report below for tracking purposes and we will notify you once get solution from the framework team.
Issue report: 17323
Workaround:
As a temporary solution, we recommend using the workaround shared in the GitHub issue report. By adding before the Arabic text, the content is correctly aligned to the right.
We have attached a sample along with an output image. Kindly review it and let us know if it resolves your issue.
Regards,
Kamalesh P
thanks , the workaround is working, but when will the actual issue be fixd ?
This Issue report: 17323 is since Sep 2023
Hi Jacobs,
We are glad to hear that the workaround has resolved the issue for you. We would like to clarify that this is a known issue within the .NET MAUI framework itself, specifically related to how drawing elements behave with right-to-left (RTL) content, particularly Arabic text, on Android. As such, this is not something that can be fixed directly within the SfTextInputLayout controls.
While we are actively following up and have requested that this be addressed as a priority, we currently do not have a confirmed timeline for when the issue will be resolved. Thank you for your patience and understanding.
Regards,
Kamalesh P