diff --git a/app/kubernetes/views/applications/create/createApplication.html b/app/kubernetes/views/applications/create/createApplication.html
index 6fdd2cf9d..48668b06b 100644
--- a/app/kubernetes/views/applications/create/createApplication.html
+++ b/app/kubernetes/views/applications/create/createApplication.html
@@ -103,13 +103,26 @@
>
+
-
+
+
+
Actions
@@ -504,12 +517,29 @@
>
-
+
+
+
+
+
+
Actions
diff --git a/app/kubernetes/views/applications/create/createApplicationController.js b/app/kubernetes/views/applications/create/createApplicationController.js
index e9801cc59..1f7b05ffd 100644
--- a/app/kubernetes/views/applications/create/createApplicationController.js
+++ b/app/kubernetes/views/applications/create/createApplicationController.js
@@ -37,6 +37,7 @@ class KubernetesCreateApplicationController {
$scope,
$async,
$state,
+ $timeout,
Notifications,
Authentication,
KubernetesResourcePoolService,
@@ -54,6 +55,7 @@ class KubernetesCreateApplicationController {
this.$scope = $scope;
this.$async = $async;
this.$state = $state;
+ this.$timeout = $timeout;
this.Notifications = Notifications;
this.Authentication = Authentication;
this.KubernetesResourcePoolService = KubernetesResourcePoolService;
@@ -148,9 +150,26 @@ class KubernetesCreateApplicationController {
this.updateApplicationType = this.updateApplicationType.bind(this);
this.getAppType = this.getAppType.bind(this);
this.showDataAccessPolicySection = this.showDataAccessPolicySection.bind(this);
+ this.refreshReactComponent = this.refreshReactComponent.bind(this);
+
+ this.$scope.$watch(
+ () => this.formValues,
+ () => {
+ this.refreshReactComponent();
+ },
+ _.isEqual
+ );
}
/* #endregion */
+ refreshReactComponent() {
+ this.isTemporaryRefresh = true;
+
+ this.$timeout(() => {
+ this.isTemporaryRefresh = false;
+ }, 10);
+ }
+
onChangePlacements(values) {
return this.$async(async () => {
this.formValues.Placements = values.placements;