diff options
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding')
2 files changed, 3 insertions, 4 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationView.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationView.jsx index e94087cc80..432493065f 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationView.jsx +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationView.jsx @@ -286,12 +286,10 @@ const OnboardingProcedure = ({ <Input label={i18n('Network Package')} overlayPos="top" - isValid={genericFieldInfo.onboardingMethod.isValid} checked={ onboardingMethod === onboardingMethodConst.NETWORK_PACKAGE } - errorText={genericFieldInfo.onboardingMethod.errorText} onChange={() => onDataChanged( { diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx index 810337dbed..c9693d4f93 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx @@ -267,7 +267,9 @@ class SoftwareProductCreationView extends React.Component { validateIsNameUnique = e => { const value = e.target.value; - this.props.isNameUnique(value, 'name', SP_CREATION_FORM_NAME); + if (value) { + this.props.isNameUnique(value, 'name', SP_CREATION_FORM_NAME); + } }; validate() { @@ -286,7 +288,6 @@ const OnboardingProcedure = ({ <Input label={i18n('Network Package')} overlayPos="top" - isValid={genericFieldInfo.onboardingMethod.isValid} checked={ onboardingMethod === onboardingMethodConst.NETWORK_PACKAGE |