This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new fd4223295a0 ui: fix advance setting behaviour in autoscale form 
(#11306)
fd4223295a0 is described below

commit fd4223295a05878fbfeef7a9c1a00dd380de351b
Author: Abhishek Kumar <abhishek.mr...@gmail.com>
AuthorDate: Wed Jul 30 10:56:33 2025 +0530

    ui: fix advance setting behaviour in autoscale form (#11306)
    
    Fixes #11269
    
    The current dysfunctional behaviour was introduced in #6571. In advanced
    settings interface for ssh keypairs, userdata, affinity group, etc are
    show but the toggle to show/hide them was not working correctly.
    
    Signed-off-by: Abhishek Kumar <abhishek.mr...@gmail.com>
---
 ui/src/views/compute/CreateAutoScaleVmGroup.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/compute/CreateAutoScaleVmGroup.vue 
b/ui/src/views/compute/CreateAutoScaleVmGroup.vue
index 981c2b0ab18..ae295e7f94f 100644
--- a/ui/src/views/compute/CreateAutoScaleVmGroup.vue
+++ b/ui/src/views/compute/CreateAutoScaleVmGroup.vue
@@ -738,7 +738,7 @@
                     {{ $t('label.isadvanced') }}
                     <a-switch v-model:checked="showDetails" 
style="margin-left: 10px"/>
                   </span>
-                  <div style="margin-top: 15px" v-show="showDetails">
+                  <div style="margin-top: 15px" v-if="showDetails">
                     <a-form-item :label="$t('label.sshkeypairs')">
                       <ssh-key-pair-selection
                         :items="options.sshKeyPairs"

Reply via email to