ant-design/components/select/demo/custom-label-render.md
xliez 1491b0c624
docs(Select): Update docs for Select new API: labelRender ()
* docs: 添加 labelRender API 文档

Signed-off-by: xliez <xliez@foxmail.com>

* docs: supplement 5.15.0 changelog

* test: update snapshots

---------

Signed-off-by: xliez <xliez@foxmail.com>
2024-03-14 22:04:14 +08:00

8 lines
331 B
Markdown

## zh-CN
允许自定义渲染当前选中的 label, 可用于 value 回填但对应选项缺失而不想直接渲染 value 的场景。
## en-US
Allows custom rendering of the currently selected label, which can be used for value backfill but the corresponding option is missing and does not want to directly render the value.