|
@@ -507,6 +507,7 @@ const CustomFormWizard = (props) => { |
|
|
value={selectedAddress4} |
|
|
value={selectedAddress4} |
|
|
options={address4ComboList} |
|
|
options={address4ComboList} |
|
|
disabled={checkCountry} |
|
|
disabled={checkCountry} |
|
|
|
|
|
getOptionLabel={(option) => option.type? intl.formatMessage({ id: option.type }) : ""} |
|
|
onChange={(event, newValue) => { |
|
|
onChange={(event, newValue) => { |
|
|
setSelectedAddress4(newValue); |
|
|
setSelectedAddress4(newValue); |
|
|
}} |
|
|
}} |
|
@@ -519,6 +520,7 @@ const CustomFormWizard = (props) => { |
|
|
id="address5-combo" |
|
|
id="address5-combo" |
|
|
value={selectedAddress5} |
|
|
value={selectedAddress5} |
|
|
options={address5ComboList} |
|
|
options={address5ComboList} |
|
|
|
|
|
getOptionLabel={(option) => option.type? intl.formatMessage({ id: option.type }) : ""} |
|
|
onChange={(event, newValue) => { |
|
|
onChange={(event, newValue) => { |
|
|
if (newValue !== null) { |
|
|
if (newValue !== null) { |
|
|
setSelectedAddress5(newValue); |
|
|
setSelectedAddress5(newValue); |
|
@@ -959,19 +961,23 @@ const CustomFormWizard = (props) => { |
|
|
{formik.values.address3} |
|
|
{formik.values.address3} |
|
|
</Typography> |
|
|
</Typography> |
|
|
: null} |
|
|
: null} |
|
|
{selectedAddress5 == ("香港") ? |
|
|
|
|
|
|
|
|
{selectedAddress5.type === "hongKong" ? |
|
|
<Stack direction="row"> |
|
|
<Stack direction="row"> |
|
|
<Typography variant="h5" color={theme.palette.grey[600]} id="preview-address4-signup"> |
|
|
<Typography variant="h5" color={theme.palette.grey[600]} id="preview-address4-signup"> |
|
|
<FormattedMessage id="region"/>: |
|
|
<FormattedMessage id="region"/>: |
|
|
</Typography> |
|
|
</Typography> |
|
|
<Typography variant="h5">{selectedAddress4}</Typography> |
|
|
|
|
|
|
|
|
<Typography variant="h5"> |
|
|
|
|
|
{!selectedAddress4? "" : intl.formatMessage({id: selectedAddress4.type})} |
|
|
|
|
|
</Typography> |
|
|
</Stack> |
|
|
</Stack> |
|
|
: null} |
|
|
: null} |
|
|
<Stack direction="row"> |
|
|
<Stack direction="row"> |
|
|
<Typography variant="h5" color={theme.palette.grey[600]} id="preview-address5-signup"> |
|
|
<Typography variant="h5" color={theme.palette.grey[600]} id="preview-address5-signup"> |
|
|
<FormattedMessage id="regionOrCountry"/>: |
|
|
<FormattedMessage id="regionOrCountry"/>: |
|
|
</Typography> |
|
|
</Typography> |
|
|
<Typography variant="h5">{selectedAddress5}</Typography> |
|
|
|
|
|
|
|
|
<Typography variant="h5"> |
|
|
|
|
|
{intl.formatMessage({id: selectedAddress5.type})} |
|
|
|
|
|
</Typography> |
|
|
</Stack> |
|
|
</Stack> |
|
|
</Stack> |
|
|
</Stack> |
|
|
</Stack> |
|
|
</Stack> |
|
|