[SDC] Full OnBoard health-check and NFoD support
[sdc.git] / openecomp-ui / src / sdc-app / onboarding / licenseModel / featureGroups / FeatureGroupsEditorReducer.js
index 001bd20..5688fc0 100644 (file)
@@ -30,7 +30,7 @@ export default (state = {}, action) => {
                                        'description': {
                                                isValid: true,
                                                errorText: '',
-                                               validations: [{type: 'required', data: true}, {type: 'maxLength', data: 1000}],
+                                               validations: [{type: 'maxLength', data: 1000}],
                                                tabId: FeatureGroupStateConstants.SELECTED_FEATURE_GROUP_TAB.GENERAL
                                        },
                                        'partNumber': {
@@ -39,6 +39,12 @@ export default (state = {}, action) => {
                                                validations: [{type: 'required', data: true}],
                                                tabId: FeatureGroupStateConstants.SELECTED_FEATURE_GROUP_TAB.GENERAL
                                        },
+                                       'manufacturerReferenceNumber': {
+                                               isValid: true,
+                                               errorText: '',
+                                               validations: [{type: 'required', data: true}, {type: 'maxLength', data: 100}],
+                                               tabId: FeatureGroupStateConstants.SELECTED_FEATURE_GROUP_TAB.GENERAL
+                                       },
                                        'name': {
                                                isValid: true,
                                                errorText: '',