You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2021/06/09 06:40:23 UTC
[cloudstack] branch 4.15 updated: ui: fix focus in deployvm form
(#5089)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new da38299 ui: fix focus in deployvm form (#5089)
da38299 is described below
commit da382993c37019852390fe7b51c36df7492a76ca
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Wed Jun 9 12:10:01 2021 +0530
ui: fix focus in deployvm form (#5089)
Fixes #5087
Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
ui/src/views/compute/wizard/ComputeOfferingSelection.vue | 3 +--
ui/src/views/compute/wizard/NetworkConfiguration.vue | 4 +---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/ui/src/views/compute/wizard/ComputeOfferingSelection.vue b/ui/src/views/compute/wizard/ComputeOfferingSelection.vue
index 117a7c0..f1a6128 100644
--- a/ui/src/views/compute/wizard/ComputeOfferingSelection.vue
+++ b/ui/src/views/compute/wizard/ComputeOfferingSelection.vue
@@ -21,8 +21,7 @@
style="width: 25vw;float: right;margin-bottom: 10px; z-index: 8"
:placeholder="$t('label.search')"
v-model="filter"
- @search="handleSearch"
- autoFocus />
+ @search="handleSearch" />
<a-table
:columns="columns"
:dataSource="tableSource"
diff --git a/ui/src/views/compute/wizard/NetworkConfiguration.vue b/ui/src/views/compute/wizard/NetworkConfiguration.vue
index 5a9c7ed..e6b4517 100644
--- a/ui/src/views/compute/wizard/NetworkConfiguration.vue
+++ b/ui/src/views/compute/wizard/NetworkConfiguration.vue
@@ -33,7 +33,6 @@
<template slot="ipAddress" slot-scope="text, record, index">
<a-form-item v-if="record.type!=='L2' && index === 0">
<a-input
- :autoFocus="record.type!=='L2'"
style="width: 150px;"
v-decorator="['ipAddress' + record.id, {
rules: [{
@@ -50,10 +49,9 @@
</a-input>
</a-form-item>
</template>
- <template slot="macAddress" slot-scope="text, record, index">
+ <template slot="macAddress" slot-scope="text, record">
<a-form-item>
<a-input
- :autoFocus="record.type==='L2' && index === 0"
style="width: 150px;"
:placeholder="$t('label.macaddress')"
v-decorator="[`macAddress` + record.id, {