HomeiOS DevelopmentSwiftUI TextField not displaying digits & punctuation when system language is Arabic...

SwiftUI TextField not displaying digits & punctuation when system language is Arabic (iOS 26.1)


Title
SwiftUI TextField not displaying digits & punctuation when system language is Arabic (iOS 26.1)

Query
I’m seeing a wierd habits in iOS 26.1 with a plain SwiftUI TextField.

When the system system language is ready to Arabic, a targeted TextField won’t show digits or particular characters whereas typing. The caret strikes, so the textual content is being inserted, however nothing seems. As quickly as I kind any Latin letter, all beforehand typed digits/punctuation all of a sudden seem.

If the sphere will not be targeted, the complete string (digits + particular characters) shows accurately.

This occurs on:
• iOS 26.1 (newest)
• Actual system
• Easy SwiftUI TextField (no modifiers, no customized keyboard)
• Solely when Arabic is the system language

Repro steps

  1. Set system language to Arabic
  2. Create a easy SwiftUI view:
// MARK: - SwiftUI View
struct NumberView: View {
    @State non-public var textual content: String = "313 4124730"
    
    var physique: some View {
        VStack(spacing: 20) {
            
            TextField("234 3243432", textual content: $textual content)
                .textFieldStyle(.roundedBorder)
            
        }
        .padding()
        .background(.yellow)
    }
}
  1. Focus the sphere
  2. Sort digits or punctuation (e.g., 0123.,/)
  3. Textual content doesn’t seem till you kind any Latin letter

Anticipated
Digits and punctuation ought to render usually whereas typing.

Precise
Digits and punctuation are hidden throughout modifying and solely seem after typing a Latin letter or when the sphere loses focus.

Query
Has anybody skilled this subject in iOS 26.1?
Is that this a identified SwiftUI regression with RTL/Arabic enter?
Is there any non permanent workaround?

I’ve additionally recorded a video displaying the difficulty if wanted.

Extra Information
Apple Suggestions ID: FB21289949 (Digits & punctuation invisible in SwiftUI TextField when system language is Arabic — iOS 26.1)

SwiftUI TextField not displaying digits & punctuation when system language is Arabic (iOS 26.1)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments