diff options
author | 2018-04-26 18:29:04 +0300 | |
---|---|---|
committer | 2018-04-30 06:41:03 +0000 | |
commit | a341ef0ffc7984e18db15714429eef0d2a0f4f06 (patch) | |
tree | 1a1b0621f7cf354917b95907f47d55339e17f165 /openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx | |
parent | 42c920baf4dbb9fe8775843a6d4c9f70fa29f064 (diff) |
error message fix
Issue-ID: SDC-1269
Change-Id: I4f0f2545e1f491687e193e7dbe00e8efd94fe18a
Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx')
-rw-r--r-- | openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
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 |