Localisation UI issue in TextField Alignment
Dev-iOS-Appbirds opened this issue · comments
I'm using the below ThemeDemo.swift file to create the frame style.
ThemeDemo.swift.zip
I can see that the current API would enable the customisability of that behaviour. Unfortunately the TextFields do not currently use that property.
We have 2 options for this, clean out the external API or extend functionality.
It would be nice to understand if possible, in your use case, would this be an important behaviour to enable the experience your team wants for your users?
hello @alex-ioja-yang-cko
In the current source code is it possible to change the alignment of TextField or you will have to make any changes in your library for this?
@Dev-iOS-Appbirds this is what we need to decide with Product & Engineering.
As it stands, changing the text alignment in TextField was not planned to be supported and the existence of that property is a symptom of a different code level behaviour that should be improved.
It may help our Product team to make a decision if there are genuine use cases where that property is actually required and improves experience for our merchants users. As it is, TextFields follow the default OS behaviour (left aligned standard and right aligned when RTL - like when using Arabic).
hello @alex-ioja-yang-cko
Yes if you could please add this feature as we have users who are going to use the application and we want our user experience to improve and as you can see the issue in the above screenshot attached. Let me know if it is possible that there is anything else i can change at my end to solve this problem?
Hey @Dev-iOS-Appbirds, thanks for raising this feedback!
As Alex mentioned, we have followed standard iOS behaviour for left-aligned for languages like English, French etc., and then right-aligned for Arabic.
However, we will keep this feature in mind for a future release, but I don't have a concrete date right now on when we might release a feature to change text alignment within fields.