From 7b6b2cc5f5135f4b68256985c3056a75c8cdb7d6 Mon Sep 17 00:00:00 2001 From: aisultankassenov Date: Mon, 24 Feb 2020 14:39:30 +0600 Subject: [PATCH] fix(newPatient): correct input types of email and phone fields --- src/patients/GeneralInformation.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/patients/GeneralInformation.tsx b/src/patients/GeneralInformation.tsx index c01525333a..60beb8021f 100644 --- a/src/patients/GeneralInformation.tsx +++ b/src/patients/GeneralInformation.tsx @@ -205,6 +205,7 @@ const GeneralInformation = (props: Props) => { onChange={(event: React.ChangeEvent) => { onInputElementChange(event, 'phoneNumber') }} + type="number" />
@@ -217,6 +218,7 @@ const GeneralInformation = (props: Props) => { onChange={(event: React.ChangeEvent) => { onInputElementChange(event, 'email') }} + type="email" />