diff options
4 files changed, 7 insertions, 28 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js index c66cbbc25b..93202f37b3 100644 --- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js +++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditorReducer.js @@ -55,10 +55,7 @@ export default (state = {}, action) => { description: { isValid: true, errorText: '', - validations: [ - { type: 'maxLength', data: 1000 }, - { type: 'validateName', data: true } - ] + validations: [{ type: 'maxLength', data: 1000 }] }, type: { isValid: true, @@ -68,10 +65,7 @@ export default (state = {}, action) => { increments: { isValid: true, errorText: '', - validations: [ - { type: 'maxLength', data: 120 }, - { type: 'validateName', data: true } - ] + validations: [{ type: 'maxLength', data: 120 }] }, thresholdUnits: { isValid: true, diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js index c2135ec988..d9d0c4cfe1 100644 --- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js +++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupsEditorReducer.js @@ -32,10 +32,7 @@ export default (state = {}, action) => { description: { isValid: true, errorText: '', - validations: [ - { type: 'maxLength', data: 1000 }, - { type: 'validateName', data: true } - ], + validations: [{ type: 'maxLength', data: 1000 }], tabId: FeatureGroupStateConstants .SELECTED_FEATURE_GROUP_TAB.GENERAL diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js index bca06a8ccd..183514ea7e 100644 --- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js +++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditorReducer.js @@ -32,10 +32,7 @@ export default (state = {}, action) => { description: { isValid: true, errorText: '', - validations: [ - { type: 'maxLength', data: 1000 }, - { type: 'validateName', data: true } - ], + validations: [{ type: 'maxLength', data: 1000 }], tabId: LicenseAgreementEnums.SELECTED_LICENSE_AGREEMENT_TAB .GENERAL diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js index d3af8bea5c..a6e78076f2 100644 --- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js +++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditorReducer.js @@ -49,10 +49,7 @@ export default (state = {}, action) => { description: { isValid: true, errorText: '', - validations: [ - { type: 'maxLength', data: 1000 }, - { type: 'validateName', data: true } - ] + validations: [{ type: 'maxLength', data: 1000 }] }, name: { isValid: true, @@ -81,10 +78,7 @@ export default (state = {}, action) => { increments: { isValid: true, errorText: '', - validations: [ - { type: 'maxLength', data: 120 }, - { type: 'validateName', data: true } - ] + validations: [{ type: 'maxLength', data: 120 }] }, startDate: { isValid: true, @@ -99,10 +93,7 @@ export default (state = {}, action) => { manufacturerReferenceNumber: { isValid: true, errorText: '', - validations: [ - { type: 'maxLength', data: 100 }, - { type: 'validateName', data: true } - ] + validations: [{ type: 'maxLength', data: 100 }] } } }; |