Skip to content
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

feat(CascaderSelect): should support clear search value in multiple mode #3008 #4806

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

YunMeng99
Copy link
Contributor

@YunMeng99 YunMeng99 commented Mar 28, 2024

should support empty search value after selection close #3008

@YunMeng99 YunMeng99 requested a review from YSMJ1994 March 28, 2024 02:17
@YunMeng99 YunMeng99 changed the title feat(CascaderSelect): should support empty search value after selecti… should support empty search value after selecti… Mar 28, 2024
@YunMeng99 YunMeng99 changed the title should support empty search value after selecti… should support empty search value after selection Mar 28, 2024
@YunMeng99 YunMeng99 changed the title should support empty search value after selection feat(CascaderSelect) Mar 28, 2024
@eternalsky eternalsky changed the title feat(CascaderSelect) feat(CascaderSelect): Member YunMeng99 commented 5 hours ago • should support empty search value after selection close #3008 Mar 28, 2024
@eternalsky eternalsky changed the title feat(CascaderSelect): Member YunMeng99 commented 5 hours ago • should support empty search value after selection close #3008 feat(CascaderSelect): should support empty search value after selection close #3008 Mar 29, 2024
@eternalsky eternalsky requested review from kyokaxin and removed request for YSMJ1994 April 17, 2024 02:03
Copy link

github-actions bot commented Jun 8, 2024

你好,该 pr 已 30 天没有活动,因此被标记为 stale,如果之后的 7 天仍然没有活动,该 pr 将被自动关闭

@github-actions github-actions bot added the Stale not active for a lone time label Jun 8, 2024
@eternalsky eternalsky removed the Stale not active for a lone time label Jun 11, 2024
@@ -687,6 +692,9 @@ class CascaderSelect extends Component {
);
// 更新缓存
this.refreshValueDataCache(value);
if(clearSearchOnSelect && searchValue){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里和 703 行对于 searchValue 的处理逻辑为什么是分开的,并且还不一样?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外格式化的问题也解决一下哈

Copy link
Contributor Author

@YunMeng99 YunMeng99 Jun 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eternalsky 已修改

@YunMeng99 YunMeng99 force-pushed the feat/CascaderSelect-selected-clear-value branch 3 times, most recently from 65aa5c9 to e24481b Compare June 12, 2024 07:48
@eternalsky eternalsky changed the title feat(CascaderSelect): should support empty search value after selection close #3008 feat(CascaderSelect): should support clear search value in multiple mode #3008 Jun 20, 2024
@YunMeng99 YunMeng99 force-pushed the feat/CascaderSelect-selected-clear-value branch from eb8d4ef to 2d05244 Compare June 25, 2024 08:47
@eternalsky eternalsky merged commit 9e159f2 into master Jun 27, 2024
3 of 4 checks passed
@eternalsky eternalsky deleted the feat/CascaderSelect-selected-clear-value branch June 27, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants