| @@ -521,36 +521,41 @@ const FormPanel = ({ formData }) => { | |||||
| } | } | ||||
| </> | </> | ||||
| } | } | ||||
| { | |||||
| actionValue == false && isOverReviseDeadline() ? | |||||
| <></> | |||||
| : | |||||
| <Grid item xs={12} sm={12} md={12} lg={12}> | |||||
| <Stack direction="row" alignItems="center"> | |||||
| <FormLabel sx={{ paddingRight: 2, paddingBottom: 3, textAlign: "center" }}> | |||||
| <Typography variant="h5"> | |||||
| <FormattedMessage id="sign" />: | |||||
| </Typography> | |||||
| </FormLabel> | |||||
| <TextField | |||||
| fullWidth | |||||
| type="password" | |||||
| onChange={formik.handleChange} | |||||
| name="vaild" | |||||
| variant="outlined" | |||||
| error={Boolean(formik.errors["vaild"])} | |||||
| helperText={formik.errors["vaild"] ? formik.errors["vaild"] : ' '} | |||||
| placeholder={intl.formatMessage({ id: 'requireLoginPassword' })} | |||||
| sx={ | |||||
| { | |||||
| "& .MuiInputBase-input.Mui-disabled": { | |||||
| WebkitTextFillColor: "#000000", | |||||
| background: "#f8f8f8", | |||||
| }, | |||||
| width: '70%' | |||||
| } | |||||
| } | |||||
| /> | |||||
| </Stack> | |||||
| </Grid> | |||||
| } | |||||
| <Grid item xs={12} sm={12} md={12} lg={12}> | |||||
| <Stack direction="row" alignItems="center"> | |||||
| <FormLabel sx={{ paddingRight: 2, paddingBottom: 3, textAlign: "center" }}> | |||||
| <Typography variant="h5"> | |||||
| <FormattedMessage id="sign" />: | |||||
| </Typography> | |||||
| </FormLabel> | |||||
| <TextField | |||||
| fullWidth | |||||
| type="password" | |||||
| onChange={formik.handleChange} | |||||
| name="vaild" | |||||
| variant="outlined" | |||||
| error={Boolean(formik.errors["vaild"])} | |||||
| helperText={formik.errors["vaild"] ? formik.errors["vaild"] : ' '} | |||||
| placeholder={intl.formatMessage({ id: 'requireLoginPassword' })} | |||||
| sx={ | |||||
| { | |||||
| "& .MuiInputBase-input.Mui-disabled": { | |||||
| WebkitTextFillColor: "#000000", | |||||
| background: "#f8f8f8", | |||||
| }, | |||||
| width: '70%' | |||||
| } | |||||
| } | |||||
| /> | |||||
| </Stack> | |||||
| </Grid> | |||||
| <Grid item xs={12} md={12} textAlign="left"> | <Grid item xs={12} md={12} textAlign="left"> | ||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | <ThemeProvider theme={PNSPS_BUTTON_THEME}> | ||||
| @@ -558,6 +563,7 @@ const FormPanel = ({ formData }) => { | |||||
| variant="contained" | variant="contained" | ||||
| color="success" | color="success" | ||||
| type="submit" | type="submit" | ||||
| disabled={actionValue == false && isOverReviseDeadline()} | |||||
| aria-label={intl.formatMessage({ id: 'submitReply' })} | aria-label={intl.formatMessage({ id: 'submitReply' })} | ||||
| > | > | ||||
| <FormattedMessage id="submitReply" /> | <FormattedMessage id="submitReply" /> | ||||