Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
liushuhui opened this issue Apr 29, 2024 · 0 comments

Comments

@liushuhui
Copy link

liushuhui commented Apr 29, 2024

  • 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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant