Skip to content

Provide RTL Arabic culture support for NET MAUI SfTextInputLayout - #411

Merged
PaulAndersonS merged 3 commits into
mainfrom
Arabic_Text_TIL
Aug 17, 2026
Merged

PaulAndersonS merged 3 commits into
mainfrom
Arabic_Text_TIL

Conversation

@TameemAnsari-SF4702

Copy link
Copy Markdown
Collaborator

Feature description

Ensure SfTextInputLayout correctly supports right-to-left (RTL) layouts (Arabic and other RTL cultures). Mirror layout ordering, alignment, and text flow for labels, hint, entry, leading/trailing views and error text; support runtime FlowDirection and culture changes. Without RTL handling, the control misaligns and reads unnatural for Arabic users, harming usability and accessibility.

Purpose/benefits of the feature

Use cases

  • As an Arabic-speaking user, I want the input, label and hint to read right-to-left so forms are natural and usable.
  • As a developer, I want SfTextInputLayout to automatically mirror layout for RTL cultures but still respect any explicit FlowDirection set in XAML/code.
  • As an accessibility engineer, I want the control to expose correct AutomationProperties and not duplicate announcements in RTL.

Description of Change

Implemented Arabic RTL support enhancements across SfTextInputLayout by:

  • Find out the SfTextInputLayout's Hint, Helper Text, Error Text are Arabic text or other type text.
  • Updating SfTextInputLayout's Hint, Helper Text, Error Text's horizontal text alignment based on the arabic text and RTL texts
  • Ensuring leading and trailing views are positioned correctly in RTL layouts.
  • Supporting runtime FlowDirection changes.
  • Supporting runtime culture changes that affect layout direction.
  • Preserving existing behavior when explicit flow direction settings are provided by developers.

Issues Fixed

Fixes - #394

@PaulAndersonS PaulAndersonS added this to the v1.0.11 milestone Aug 17, 2026
@PaulAndersonS
PaulAndersonS merged commit 4d6097c into main Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants