I can't comment so I'll just put this as an answer instead. Even though it's for UIKit you can still wrap it in a UIViewRepresentable to place it in your SwiftUI code. You may know that already, so if you truly want pure SwiftUI, you may be out of luck here. Hopefully more TextField features are migrated to SwiftUI soon.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…