Posts

Post not yet marked as solved
0 Replies
247 Views
In the following code, three of the four modifiers on TextEditor work as expected. However, .textCase(.uppercase) seems to be ignored. It does not force entered text into upper case. TextEditor(text: $document.text) .textCase(.uppercase) .font(.system(size: 18).monospaced()) .scrollContentBackground(.hidden) .padding() I can find nothing in the docs that indicates TextFields do not recognize this modifier, and the code compiles just fine. Any thoughts?
Posted
by fischej.
Last updated
.