Selaa lähdekoodia

application submission no issue check

CR013B2
Jason Chuang 2 kuukautta sitten
vanhempi
commit
ab24530b5b
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. +7
    -0
      src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js

+ 7
- 0
src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js Näytä tiedosto

@@ -1,4 +1,5 @@
// material-ui
import React from 'react';
import {
Grid,
Typography,
@@ -56,6 +57,8 @@ const PublicNoticeApplyForm = ({ loadedData, _selections, gazetteIssueList }) =>
const [isOnlyOnlinePayment, setOnlyOnlinePayment] = useState();
const navigate = useNavigate();

const hasOptions = React.Children.count(selections) > 0;

const BackgroundHead = {
backgroundImage: `url(${titleBackgroundImg})`,
width: 'auto',
@@ -275,6 +278,9 @@ const PublicNoticeApplyForm = ({ loadedData, _selections, gazetteIssueList }) =>
:
<Grid item xs={12} md={12} width={{ md: "60%", xs: "90%" }}>
<Box xs={12} mt={1} sx={{ p: 2, border: '3px groove grey', borderRadius: '10px' }}>

{hasOptions ? (

<form onSubmit={formik.handleSubmit}>
<Grid container spacing={1} sx={{ minHeight: '80vh' }} direction="row" justifyContent="flex-start" alignItems="center">
{
@@ -602,6 +608,7 @@ const PublicNoticeApplyForm = ({ loadedData, _selections, gazetteIssueList }) =>

</Grid>
</form>
) : null}
</Box>
</Grid>
}


Ladataan…
Peruuta
Tallenna