diff --git a/charts/enginekubevaultcom-secretengine-editor/ui/create-ui.yaml b/charts/enginekubevaultcom-secretengine-editor/ui/create-ui.yaml index 8cfa747987..9b5c239dd9 100644 --- a/charts/enginekubevaultcom-secretengine-editor/ui/create-ui.yaml +++ b/charts/enginekubevaultcom-secretengine-editor/ui/create-ui.yaml @@ -69,7 +69,7 @@ step: name: isDbSelected type: function label: Plugin Name - schema: discriminator/properties/plugin-name + schema: temp/properties/plugin-name type: input watcher: func: getPluginName diff --git a/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml b/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml index cbdc5a4b52..ae53f0891d 100644 --- a/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml +++ b/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml @@ -48,17 +48,17 @@ step: name: isTlsOn type: function label: Do you want to access mongodb+srv style DNS? - schema: discriminator/enableHorizons + schema: temp/enableHorizons type: switch watcher: func: onHorizonsChange paths: - - discriminator/enableHorizons + - temp/enableHorizons - if: name: isHorizonsOn type: function label: Horizons count should be equal to Replica Number. - type: alert + type: info - element: label: Add a new horizon dns for pod type: input @@ -715,9 +715,6 @@ step: - if: name: isToggleOn|tls type: function - init: - type: func - value: checkHostnameOrIP label: Enable TLS? schema: schema/properties/spec/properties/admin/properties/tls/properties/default type: switch @@ -739,9 +736,6 @@ step: - if: name: isToggleOn|expose type: function - init: - type: func - value: checkHostnameOrIP label: Expose via Gateway? schema: schema/properties/spec/properties/admin/properties/expose/properties/enable/properties/default type: switch diff --git a/charts/kubedbcom-mongodb-editor-options/ui/functions.js b/charts/kubedbcom-mongodb-editor-options/ui/functions.js index 03fe6fc2d7..41db2945f8 100644 --- a/charts/kubedbcom-mongodb-editor-options/ui/functions.js +++ b/charts/kubedbcom-mongodb-editor-options/ui/functions.js @@ -1533,7 +1533,7 @@ export const useFunc = (model) => { function onHorizonsChange() { const val = getValue(discriminator, '/enableHorizons') if (!val) { - commit({ + commit('wizard/model$update', { path: '/spec/replicaSet/horizons', value: [], force: true, @@ -1594,7 +1594,7 @@ export const useFunc = (model) => { const common = getCommonPostfix(horizons) if (!common) return 'Horizons must have a common dot (.) seperated suffix' - return true + return } return {