Originator:flavio
Number:rdar://FB9047229 Date Originated:2021-18-03
Status:Open Resolved:No
Product:SwiftUI (macOS) Product Version:
Classification:Incorrect/Unexpected Behavior Reproducible:Yes
 
Please describe the issue:
===
TextFields on macOS ignores `.textCase` modifiers. The given case is applied only to the placeholder, but not to the typed content.

Please list the steps you took to reproduce the issue:
===
1. Just add `.textCase(.uppercased)` to a TextField and run it on a macOS application

```
TextField("Type anything", text: $text).textCase(.uppercase)
```

What did you expect to happen?
===
The case should be applied to the typed text

What actually happened?
===
The typed text reflects the casing the user inputs, ignoring the modifier.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!