alibaba/formily

[Bug Report] <Field type="string" enum={intersectionData} title="people" name="people" // x-component='select' x-component-props={{ labelInValue: true }} /> 版本:"@uform/antd": "^1.0.5",

Opened this issue · 0 comments

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<Field
type="string"
enum={intersectionData}
title="people"
name="people"
// x-component='select'
x-component-props={{ labelInValue: true }}
/>

What is expected?

正常显示

What is actually happening?

image
image

当设置labelInValue: true的时候,选中的值在只读模式显示为N/A,下拉框为多选的时候,只读模式显示为空
编辑模式:
image
只读模式:
image

Package

@formily/antd@1.0.5