Jason Chuang 1 year ago
parent
commit
245c369cd0
4 changed files with 5 additions and 5 deletions
  1. +2
    -2
      src/pages/Setting/SystemSetting/Form.js
  2. +1
    -1
      src/pages/authentication/auth-forms/BusCustomFormWizard.js
  3. +1
    -1
      src/pages/authentication/auth-forms/CustomFormWizard.js
  4. +1
    -1
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js

+ 2
- 2
src/pages/Setting/SystemSetting/Form.js View File

@@ -120,8 +120,8 @@ const Form = ({ selectedItem, onSave }) => {
error={valueErr} error={valueErr}
onChange={(event) => { onChange={(event) => {
setValue(event.target.value); setValue(event.target.value);
if (event.target.value.length >= 1000) {
setValueErr("The number of characters cannot exceed 1000 words.");
if (event.target.value.length >= 5000) {
setValueErr("The number of characters cannot exceed 5000 words.");
return; return;
} }
setValueErr(""); setValueErr("");


+ 1
- 1
src/pages/authentication/auth-forms/BusCustomFormWizard.js View File

@@ -1365,7 +1365,7 @@ const BusCustomFormWizard = (props) => {
<Grid container> <Grid container>
<Grid item xs={12} md={12}> <Grid item xs={12} md={12}>
<Typography variant="h6" height="100%" sx={{ textAlign: "left", /*overflow: "scroll",*/ borderRadius: "inherit", borderStyle: "solid", borderWidth: "1px", borderColor: "#0C489E" }}> <Typography variant="h6" height="100%" sx={{ textAlign: "left", /*overflow: "scroll",*/ borderRadius: "inherit", borderStyle: "solid", borderWidth: "1px", borderColor: "#0C489E" }}>
<div dangerouslySetInnerHTML={{__html: intl.formatMessage({id: "termsAndCon"})}} />
<div style={{padding: 12}} dangerouslySetInnerHTML={{__html: intl.formatMessage({id: "termsAndCon"})}} />
</Typography> </Typography>
</Grid> </Grid>
</Grid> </Grid>


+ 1
- 1
src/pages/authentication/auth-forms/CustomFormWizard.js View File

@@ -1554,7 +1554,7 @@ const CustomFormWizard = (props) => {
<Grid container> <Grid container>
<Grid item xs={12} md={12}> <Grid item xs={12} md={12}>
<Typography variant="h6" height="100%" sx={{ textAlign: "left", /*overflow: "scroll",*/ borderRadius: "inherit", borderStyle: "solid", borderWidth: "1px", borderColor: "#0C489E" }}> <Typography variant="h6" height="100%" sx={{ textAlign: "left", /*overflow: "scroll",*/ borderRadius: "inherit", borderStyle: "solid", borderWidth: "1px", borderColor: "#0C489E" }}>
<div dangerouslySetInnerHTML={{__html: intl.formatMessage({id: "termsAndCon"})}} />
<div style={{padding: 12}} dangerouslySetInnerHTML={{__html: intl.formatMessage({id: "termsAndCon"})}} />
</Typography> </Typography>
</Grid> </Grid>
</Grid> </Grid>


+ 1
- 1
src/pages/authentication/auth-forms/IAmSmartFormWizard.js View File

@@ -827,7 +827,7 @@ const CustomFormWizard = (props) => {
<Grid item xs={12} md={12}> <Grid item xs={12} md={12}>
<Typography variant="h5" height="80%" sx={{ textAlign: "left", overflow: "scroll", borderRadius: "inherit", borderStyle: "solid", borderWidth: "1px", borderColor: "#0C489E" }}> <Typography variant="h5" height="80%" sx={{ textAlign: "left", overflow: "scroll", borderRadius: "inherit", borderStyle: "solid", borderWidth: "1px", borderColor: "#0C489E" }}>
<div dangerouslySetInnerHTML={{__html: intl.formatMessage({id: "termsAndCon"})}} />
<div style={{padding: 12}} dangerouslySetInnerHTML={{__html: intl.formatMessage({id: "termsAndCon"})}} />
</Typography> </Typography>
</Grid> </Grid>
</Grid> </Grid>


Loading…
Cancel
Save