Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

👑 [需求]<ModalForm> 组件,按照“新建”或“编辑”不同的状态,设置某个ProFormText 只读。 #751

@algz

Description

@algz

🥰 需求描述 [详细地描述需求,让大家都能理解]

很多时候弹出框(ModalForm),有多个不同的状态(新建或编辑),需要按照他的状态,设置ProFormText 为只读。比如登录名,只能新增时可写,编辑时只读,虽然可以通用useState控制,但希望form=Form.useForm(),能通过form.setFields设置组件属性。
👑 [需求] 组件,按照“新建”或“编辑”不同的状态,设置某个ProFormText 只读。

🧐 解决方案 [如果你有解决方案,在这里清晰地阐述]

🚑 其他信息 [如截图等其他信息可以贴在这里]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions