@capillarytech/creatives-library 8.0.249 → 8.0.250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -62,7 +62,6 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
62
62
|
isEdit: false,
|
|
63
63
|
schema: {},
|
|
64
64
|
loading: false,
|
|
65
|
-
isFormValid: true,
|
|
66
65
|
injectedTags: {},
|
|
67
66
|
checkValidation: false,
|
|
68
67
|
saveEdmDataMode: 'save',
|
|
@@ -889,9 +888,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
889
888
|
return '';
|
|
890
889
|
}
|
|
891
890
|
|
|
892
|
-
setFormValidity = (
|
|
893
|
-
this.setState({isFormValid});
|
|
894
|
-
}
|
|
891
|
+
setFormValidity = () => {}
|
|
895
892
|
|
|
896
893
|
setEditData(editData) {
|
|
897
894
|
const isBEESupport = (this.props.location.query.isBEESupport !== "false") || false;
|
|
@@ -1118,7 +1115,6 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
1118
1115
|
isEdit: false,
|
|
1119
1116
|
schema: {},
|
|
1120
1117
|
loading: false,
|
|
1121
|
-
isFormValid: true,
|
|
1122
1118
|
injectedTags: {},
|
|
1123
1119
|
checkValidation: false,
|
|
1124
1120
|
tabKey: '',
|
|
@@ -2460,14 +2456,14 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
2460
2456
|
}
|
|
2461
2457
|
|
|
2462
2458
|
saveFormData = (passedData) => {
|
|
2463
|
-
//saveFormData gets called only when validation result is true
|
|
2464
2459
|
if (this.state.gettingFormData && !this.props.isFullMode) {
|
|
2465
2460
|
const response = {
|
|
2466
2461
|
action: "getFormData",
|
|
2467
2462
|
postAction: this.state.getFormDataValue || 'next',
|
|
2468
2463
|
id: _.get(this.props, 'Email.templateDetails._id', ''),
|
|
2469
2464
|
value: this.transformFormData(passedData),
|
|
2470
|
-
|
|
2465
|
+
//saveFormData gets called only when validation result is true
|
|
2466
|
+
validity: true,
|
|
2471
2467
|
type: 'EMAIL',
|
|
2472
2468
|
};
|
|
2473
2469
|
|