I am trying to use a TextEditor() in SwiftUI and will need .keyboardType(.numberPad). Unfortunately though, whenever I set this option, for some reason my device and simulator seem to ignore it entirely! It just shows the default keyboard no matter what I set as the keyboard option.
Does anyone know why this might be? I have tested iOS 14.0 and 14.2 Beta with Xcode 12 Beta 2.