mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
7abae5e973
* demo: a better Form usage inside Modal * chore: drop ref usage * fix: useForm * show values after submit * chore: update snapshot * chore: remove form preserve
10 lines
512 B
Markdown
10 lines
512 B
Markdown
## zh-CN
|
||
|
||
当用户访问一个展示了某个列表的页面,想新建一项但又不想跳转页面时,可以用 Modal 弹出一个表单,用户填写必要信息后创建新的项。
|
||
|
||
> 🛎️ 想要 3 分钟实现?试试 ProForm 的 [Modal 表单](https://procomponents.ant.design/components/form#modal-%E8%A1%A8%E5%8D%95)!
|
||
|
||
## en-US
|
||
|
||
When user visit a page with a list of items, and want to create a new item. The page can popup a form in Modal, then let user fill in the form to create an item.
|