luximetr / AnyFormatKitSwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard type dont change

SuleymanovKamil opened this issue · comments

How to change keyboard type to numberPad?
.keyboardType(.numberPad) not working

Yes, looks like a bug. I will fix it in a nearest future. If you already have a fix, just create a pull request.

I use Introspect and i fixed this issue like this:
.introspectTextField{ textField in
textField.keyboardType = UIKeyboardType.numberPad
}

And its seem you forget to add platforms in Package.swift

Added, please check.

Works good. Thanks