From 66c83ebe32756624d221532a5a7829d2c839f76a Mon Sep 17 00:00:00 2001 From: Alex Cheung Date: Mon, 25 Sep 2023 10:04:43 +0800 Subject: [PATCH] fix engName with space --- .../authentication/auth-forms/BusCustomFormWizard.js | 10 +++++----- .../authentication/auth-forms/CustomFormWizard.js | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/authentication/auth-forms/BusCustomFormWizard.js b/src/pages/authentication/auth-forms/BusCustomFormWizard.js index e4326b5..72d521a 100644 --- a/src/pages/authentication/auth-forms/BusCustomFormWizard.js +++ b/src/pages/authentication/auth-forms/BusCustomFormWizard.js @@ -654,7 +654,7 @@ const BusCustomFormWizard = (props) => { { fullWidth error={Boolean(formik.touched.address1 && formik.errors.address1)} id="address1-signup" - value={formik.values.address1.trim()} + value={formik.values.address1} name="address1" onChange={formik.handleChange} placeholder="第一行" @@ -785,7 +785,7 @@ const BusCustomFormWizard = (props) => { fullWidth error={Boolean(formik.touched.address2 && formik.errors.address2)} id="address2-signup" - value={formik.values.address2.trim()} + value={formik.values.address2} name="address2" onChange={formik.handleChange} placeholder="第二行" @@ -801,7 +801,7 @@ const BusCustomFormWizard = (props) => { fullWidth error={Boolean(formik.touched.address3 && formik.errors.address3)} id="address3-signup" - value={formik.values.address3.trim()} + value={formik.values.address3} name="address3" onChange={formik.handleChange} placeholder="第三行" @@ -878,7 +878,7 @@ const BusCustomFormWizard = (props) => { { { fullWidth error={Boolean(formik.touched.address1 && formik.errors.address1)} id="address1-signup" - value={formik.values.address1.trim()} + value={formik.values.address1} name="address1" onChange={formik.handleChange} placeholder="第一行" @@ -900,7 +900,7 @@ const CustomFormWizard = (props) => { fullWidth error={Boolean(formik.touched.address2 && formik.errors.address2)} id="address2-signup" - value={formik.values.address2.trim()} + value={formik.values.address2} name="address2" onChange={formik.handleChange} placeholder="第二行" @@ -916,7 +916,7 @@ const CustomFormWizard = (props) => { fullWidth error={Boolean(formik.touched.address3 && formik.errors.address3)} id="address3-signup" - value={formik.values.address3.trim()} + value={formik.values.address3} name="address3" onChange={formik.handleChange} placeholder="第三行"