Sfoglia il codice sorgente

update emailConfirm handle

CR003
Alex Cheung 1 anno fa
parent
commit
a88c79deb8
2 ha cambiato i file con 13 aggiunte e 1 eliminazioni
  1. +7
    -0
      src/pages/authentication/auth-forms/CustomFormWizard.js
  2. +6
    -1
      src/pages/authentication/auth-forms/IAmSmartFormWizard.js

+ 7
- 0
src/pages/authentication/auth-forms/CustomFormWizard.js Vedi File

@@ -700,6 +700,10 @@ const CustomFormWizard = (props) => {
// setSelectedIdDocLabel("")
};

const handleCCPChange = (e) => {
e.preventDefault();
};

const { values } = formik

useEffect(() => {
@@ -1367,6 +1371,9 @@ const CustomFormWizard = (props) => {
onChange={formik.handleChange}
placeholder={intl.formatMessage({ id: 'confirmEmail' })}
onBlur={formik.handleBlur}
onCut={handleCCPChange}
onCopy={handleCCPChange}
onPaste={handleCCPChange}
inputProps={{
onKeyDown: (e) => {
if (e.key === 'Enter') {


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

@@ -415,9 +415,11 @@ const CustomFormWizard = (props) => {
}),
});

const handleCCPChange = (e) => {
e.preventDefault();
};

const { values } = formik

useEffect(() => {
checkDataField(values)
}, [values])
@@ -690,6 +692,9 @@ const CustomFormWizard = (props) => {
onChange={formik.handleChange}
placeholder={intl.formatMessage({ id: 'confirmEmail' })}
onBlur={formik.handleBlur}
onCut={handleCCPChange}
onCopy={handleCCPChange}
onPaste={handleCCPChange}
inputProps={{
onKeyDown: (e) => {
if (e.key === 'Enter') {


Caricamento…
Annulla
Salva