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(Cascader): support autoClearSearchValue #44033

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

linxianxi
Copy link
Contributor

@linxianxi linxianxi commented Aug 4, 2023

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

#43951

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Cascader support autoClearSearchValue
🇨🇳 Chinese Cascader 支持 autoClearSearchValue

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

🤖 Generated by Copilot at 6af589e

Add a new prop autoClearSearchValue to the Cascader component that allows clearing the search on item selection in multiple mode. Update the API documentation in English and Chinese and the type definition in TypeScript. Bump up the dependency version of rc-cascader to support the new feature.

🔍 Walkthrough

🤖 Generated by Copilot at 6af589e

  • Add a new prop autoClearSearchValue to the Cascader component to control whether the current search will be cleared on selecting an item in multiple mode (link, link, link)
  • Update the dependency version of rc-cascader to ~3.15.0 in package.json to use the new feature of autoClearSearchValue (link)

@stackblitz
Copy link

stackblitz bot commented Aug 4, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2023

@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: rc-cascader@3.14.1

@argos-ci
Copy link

argos-ci bot commented Aug 4, 2023

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 1 change Aug 8, 2023, 6:57 AM

@yoyo837
Copy link
Contributor

yoyo837 commented Aug 4, 2023

这么快 1kb 用完了

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4fe27ba) 100.00% compared to head (9318d70) 100.00%.
Report is 3 commits behind head on feature.

Additional details and impacted files
@@            Coverage Diff            @@
##           feature    #44033   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          658       658           
  Lines        11191     11191           
  Branches      3031      3031           
=========================================
  Hits         11191     11191           
Files Changed Coverage Δ
components/cascader/index.tsx 100.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants