-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
transfer 搜索节点后选中,再搜索其他关键词时功能异常 #3159
Comments
Translation of this issue: transfer After searching for a node, it is abnormal when searching for other keywords.Reproduction link[https://stackblitz.com/edit/ng-zorro-antd-start-jyi6ug?embed=1&file=src/app/app.component.html](https://stackblitz.com/edit/ng-zorro- Antd-start-jyi6ug?embed=1&file=src/app/app.component.html) Steps to reproduceEnter the search term content1 on the left, select a few, and then enter the search term content2. At this time, the upper digital prompt will be incorrect, and when the transfer button is clicked, the selected content1 option does not appear on the right side. You need to change the search word on both sides to trigger. Will not work properly after searching What is expected?The first type: the search box is disabled after the option is selected, the search condition cannot be changed, and the search condition can be searched only when there is no item selected. What is actually happening?After multiple searches, the upper digital prompt will be incorrect, and when the transfer button is clicked, there is no option for the selected content1 on the right side. It is necessary to change the search words on both sides, and the search will be normal after the search is triggered.
|
…NG-ZORRO#3161) * fix(module:transfer): fix invalid trigger checked event in blank area - fix can't show no found * fix(module:transfer): fix forced to display when the original item is hidden close NG-ZORRO#3160 close NG-ZORRO#3159
…NG-ZORRO#3161) * fix(module:transfer): fix invalid trigger checked event in blank area - fix can't show no found * fix(module:transfer): fix forced to display when the original item is hidden close NG-ZORRO#3160 close NG-ZORRO#3159
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-jyi6ug?embed=1&file=src/app/app.component.html
Steps to reproduce
左边输入搜索词content1,随便选中几个,再输入搜索词content2,此时上方数字提示会不正确,而且点击转移按钮时,右边没有出现选中的content1的选项,需要两边都改一下搜索词,触发搜索后才会正常
What is expected?
第一种:选中选项后搜索框禁用,不能更改搜索条件,只有没有选中项时才可以搜索
或者第二种:更改搜索词后上方选中数量提示正确,并且转移后右侧可以正常渲染出之前选择的所有选项
What is actually happening?
多次搜索后上方数字提示会不正确,而且点击转移按钮时,右边没有出现选中的content1的选项,需要两边都改一下搜索词,触发搜索后才会正常
The text was updated successfully, but these errors were encountered: