Преглед на файлове

update emailConfirm handle

CR003
Alex Cheung преди 1 година
родител
ревизия
a88c79deb8
променени са 2 файла, в които са добавени 13 реда и са изтрити 1 реда
  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 Целия файл

@@ -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 Целия файл

@@ -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') {


Зареждане…
Отказ
Запис