From 0faa27534e7e795285848e7d58d1859649878de1 Mon Sep 17 00:00:00 2001 From: bsorrentino Date: Wed, 14 Sep 2022 12:40:08 +0200 Subject: [PATCH] feat: set text field 'asciiCapableNumberPad' --- PlantUML/PlantUMLTextField.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/PlantUML/PlantUMLTextField.swift b/PlantUML/PlantUMLTextField.swift index d395a1e..82b81b8 100644 --- a/PlantUML/PlantUMLTextField.swift +++ b/PlantUML/PlantUMLTextField.swift @@ -41,6 +41,7 @@ struct PlantUMLTextField: View { HStack(spacing: 15) { TextField( "", text: $value ) + .keyboardType(.asciiCapableNumberPad) .textInputAutocapitalization(.never) .font(Font.system(size: 15).monospaced()) .submitLabel(.done)