mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-25 06:13:57 +08:00
[fix] allow alphanumeric password input on iOS, fixes #127
This commit is contained in:
@@ -750,8 +750,10 @@ private struct PasswordPromptView: View {
|
||||
SecureField("访问密码", text: $password)
|
||||
}
|
||||
}
|
||||
.keyboardType(.numberPad)
|
||||
.keyboardType(.asciiCapable)
|
||||
.textContentType(.password)
|
||||
.textInputAutocapitalization(.never)
|
||||
.autocorrectionDisabled()
|
||||
.focused($passwordFocused)
|
||||
|
||||
Button {
|
||||
|
||||
Reference in New Issue
Block a user