-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.4.1
Environment
PC: window7; chrome:76.0.3809.100(正式版本) (64 位),vue:2.6.10
Reproduction link
https://github.com/wzy4072/antdDemo
Steps to reproduce
<a-form :form="form">
<a-table :columns="columns" :dataSource="dataSource" rowKey="id">
<span slot="age" slot-scope="value, record">
<a-form-item>
<a-input
v-decorator="[ record.id '.age', { rules: [{ required: true, message: 'Please input your age!' }] }]"
/>
</a-form-item>
</span>
<span slot="handle" slot-scope="value, record, index">
<a-button type="primary" @click="add" v-show="index === 0">add</a-button>
<a-button type="danger" @click="remove(index)" v-show="index !== 0">remove</a-button>
</span>
</a-table>
</a-form>
What is expected?
then form can work; i can input;
What is actually happening?
i can input nothing; no warning;