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
search.transform 当自定义renderFormItem输入组件的时候,不生效 版本号@ant-design/[email protected]
{ title: '更新时间', key: 'time', hideInTable: true, renderFormItem: () => { return <RangePickerWith2Comp />; }, search: { //不生效 transform: (value: any) => { return { d: moment(value.startDate).format('YYYY-MM-DD'), b: moment(value.endDate).format('YYYY-MM-DD'), }; }, }, }
The text was updated successfully, but these errors were encountered:
看源代码,有个这个注释,然后修改成数组后,解决问题。
Sorry, something went wrong.
可以贴一下具体解决代码吗
可以贴一下具体解决代码吗 把你的自定义renderFormItem返回的数据结构改成数组就好
No branches or pull requests
🧐 问题描述
search.transform 当自定义renderFormItem输入组件的时候,不生效
版本号@ant-design/[email protected]
💻 示例代码
The text was updated successfully, but these errors were encountered: