Skip to content

Whether Form.Item can increase the prop of value is the value of the current input component #5800

@fshihu

Description

@fshihu
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

对于动态输入框来说,prop传参不是太方便,而且还必须要把值放在from的model里面

What does the proposed API look like?

现在是这样

<a-form-model-item :prop="'form.' index '.name'" ref="name" :autoLink="false" v-for="(item ,index) in form_data.options"> <a-input v-model="item.name" /> </a-form-model-item>

期望

<a-form-model-item :value="item.name" ref="name" :autoLink="false" v-for="(item ,index) in form_data.options"> <a-input v-model="item.name" /> </a-form-model-item>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions