Post

Replies

Boosts

Views

Activity

Reply to SwiftUI changing keyboard type resets scroll on Form
Unfortunately, I have exactly the same problem 😬 You could work with a format style but the input is only validated after pressing Return. Since the keyboard would not be .numberPad, all characters could be entered. In addition, you would need to have a default input, which would probably be 0. Both look ugly in the form. You could probably have a workaround with the UITextField, but I personally don't like to mix SwiftUI and UIKit or only if there is no other way.
1w