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
1.7.2
browser version:87.0.4280.141
https://antdv.com/components/auto-complete-cn/
直接在文档网站即可操作出来 1、选择AutoComplete代码演示 2、查看自定义选项例子 3、输入1 4、选择下拉”1@gmail.com“ 5、得出输入框结果” 1@gmail.com “
”1@gmail.com“
” 1@gmail.com “
这样的话,如果用户想删除某些字符,得先删除一些空格,操作不太友好
The text was updated successfully, but these errors were encountered:
<a-auto-complete style="width: 200px" placeholder="input here" option-label-prop="title" > <template slot="dataSource"> <a-select-option v-for="email in result" :key="email" :title="email"> {{ email }} </a-select-option> </template> </a-auto-complete> </template>
这样规避一下吧
Sorry, something went wrong.
谢谢 之前暂时这么处理了
<a-auto-complete style="width: 200px" placeholder="input here" option-label-prop="title" > <template slot="dataSource"> <a-select-option v-for="email in result" :key="email" :title="email"> {{ email }} </a-select-option> </template> </a-auto-complete> </template> 这样规避一下吧
试过了没有用,1.7.8 的版本,想请教下为什么这个要加 title,而不是 label 呢,label 也试过了不行。
zkwolf
No branches or pull requests
Version
1.7.2
Environment
browser version:87.0.4280.141
Reproduction link
https://antdv.com/components/auto-complete-cn/
Steps to reproduce
直接在文档网站即可操作出来
1、选择AutoComplete代码演示
2、查看自定义选项例子
3、输入1
4、选择下拉”1@gmail.com“
5、得出输入框结果” 1@gmail.com “
What is expected?
”1@gmail.com“
What is actually happening?
” 1@gmail.com “
这样的话,如果用户想删除某些字符,得先删除一些空格,操作不太友好
The text was updated successfully, but these errors were encountered: