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]ProFormCascader在readonly模式下,render的内容不是displayRender的内容 也无法自定义 #9001

Open
SkylerXie opened this issue Feb 8, 2025 · 0 comments

Comments

@SkylerXie
Copy link

SkylerXie commented Feb 8, 2025

<ProFormCascader label="Cascader" name={[name]} placeholder="Cascader" fieldProps={{ multiple: true, options:options, displayRender: (label) => label.join('-') }} />
ProFormCascader在readonly模式下,会丢失displayRender自定义渲染的内容,默认以xx,xx,xx分隔展示,另外也没有额外的渲染函数进行readonly后的自定义渲染

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