We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
选择picker后表单中显示的是对应数据value
点击picker选择值
通过自定义renderLinkedContainer来显示值的label,发现初始状态拿到的data是[], 导致拿不到对应的label
renderLinkedContainer={(values, data) => values .map( (value) => data.find((item) => item.value === value)?.label ) .join("-") || "empty" }
The text was updated successfully, but these errors were encountered:
你可以给Picker加上
mountOnEnter={false} unmountOnExit={false}
Sorry, something went wrong.
No branches or pull requests
Basic Info
What is expected?
选择picker后表单中显示的是对应数据value
Steps to reproduce
点击picker选择值
Extra info
通过自定义renderLinkedContainer来显示值的label,发现初始状态拿到的data是[], 导致拿不到对应的label
The text was updated successfully, but these errors were encountered: