summaryrefslogtreecommitdiffstats
path: root/openecomp-ui
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-04-26 18:29:04 +0300
committerEinav Keidar <einavw@amdocs.com>2018-04-30 06:41:03 +0000
commita341ef0ffc7984e18db15714429eef0d2a0f4f06 (patch)
tree1a1b0621f7cf354917b95907f47d55339e17f165 /openecomp-ui
parent42c920baf4dbb9fe8775843a6d4c9f70fa29f064 (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')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationView.jsx2
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreationViewWithFilter.jsx5
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