mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: fix focus in deployvm form (#5089)
Fixes #5087 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
b0f2112dc2
commit
da382993c3
@ -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"
|
||||
|
||||
@ -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, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user