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
解决了 Select 组件的搜索功能,很多时候 Select.Option 的 value 会是 ID 字段,但是搜索内容应该会针对 name 字段
可以给 Select 增加一个 API,searchField,代表要对哪个字段发起搜索
The text was updated successfully, but these errors were encountered:
参考文档:https://ant.design/components/select-cn/#Select-props 可以通过 optionFilterProp 来指定搜索的prop,或者自己实现filterOption
Sorry, something went wrong.
Hello @Hansenleee, we use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don't ask usage questions here. You can try to ask questions on Stack Overflow or Segment Fault, then apply tag antd and react to your question.
antd
react
你好 @Hansenleee,Ant Design Issue 板块是用于 bug 反馈与需求讨论的地方。请勿询问如何使用的问题,你可以试着在 Stack Overflow 或者 Segment Fault 中提问(记得添加 antd 和 react 标签哦~)。
afc163
No branches or pull requests
What problem does this feature solve?
解决了 Select 组件的搜索功能,很多时候 Select.Option 的 value 会是 ID 字段,但是搜索内容应该会针对 name 字段
What does the proposed API look like?
可以给 Select 增加一个 API,searchField,代表要对哪个字段发起搜索
The text was updated successfully, but these errors were encountered: