mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
docs(form): update link (#50401)
This commit is contained in:
parent
51d6a9bf38
commit
533d621950
@ -189,7 +189,7 @@ related issue: [#34500](https://github.com/ant-design/ant-design/issues/34500)
|
||||
</Form.Item>
|
||||
```
|
||||
|
||||
You can ref [example](#form-demo-horizontal-login) to see detail.
|
||||
You can ref [example](#form-demo-inline-login) to see detail.
|
||||
|
||||
When `shouldUpdate` is a function, it will be called by form values update. Providing original values and current value to compare. This is very helpful for rendering additional fields based on values:
|
||||
|
||||
|
@ -190,7 +190,7 @@ Form 通过增量更新方式,只更新被修改的字段相关组件以达到
|
||||
</Form.Item>
|
||||
```
|
||||
|
||||
你可以参考[示例](#form-demo-horizontal-login)查看具体使用场景。
|
||||
你可以参考[示例](#form-demo-inline-login)查看具体使用场景。
|
||||
|
||||
当 `shouldUpdate` 为方法时,表单的每次数值更新都会调用该方法,提供原先的值与当前的值以供你比较是否需要更新。这对于是否根据值来渲染额外字段十分有帮助:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user