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

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


The following commit(s) were added to refs/heads/main by this push:
     new c0124e2753 ui: Allow editing host and storage tags in updateHost & 
updatStoragePool forms (#6375)
c0124e2753 is described below

commit c0124e27539234a281b1087e84c325e9666abc99
Author: Pearl Dsilva <[email protected]>
AuthorDate: Wed May 11 16:36:19 2022 +0530

    ui: Allow editing host and storage tags in updateHost & updatStoragePool 
forms (#6375)
---
 ui/src/views/AutogenView.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue
index bda425fe8e..ff75a6d269 100644
--- a/ui/src/views/AutogenView.vue
+++ b/ui/src/views/AutogenView.vue
@@ -1066,10 +1066,10 @@ export default {
       this.showAction = true
       const listIconForFillValues = ['copy-outlined', 'CopyOutlined', 
'edit-outlined', 'EditOutlined', 'share-alt-outlined', 'ShareAltOutlined']
       for (const param of this.currentAction.paramFields) {
-        this.setRules(param)
         if (param.type === 'list' && ['tags', 'hosttags', 'storagetags', 
'files'].includes(param.name)) {
           param.type = 'string'
         }
+        this.setRules(param)
         if (param.type === 'uuid' || param.type === 'list' || param.name === 
'account' || (this.currentAction.mapping && param.name in 
this.currentAction.mapping)) {
           this.listUuidOpts(param)
         }

Reply via email to