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

fix(comp:transfer): removing items absent from datasource works now #1054

Merged

Conversation

sallerli1
Copy link
Contributor

feat(comp:transfer): add defaultTargetData prop

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

配置了getKey之后,删除初始不在datasource中的已选数据时,删除不成功
transfer不支持defaultTargetData

What is the new behavior?

修复以上问题
基础穿梭框组件支持defaultTargetData配置初始已选数据

Other information

feat(comp:transfer): add defaultTargetData prop
@idux-bot
Copy link

idux-bot bot commented Aug 2, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #1054 (e42af63) into main (07d6719) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1054   +/-   ##
=======================================
  Coverage   93.74%   93.74%           
=======================================
  Files         314      314           
  Lines       30062    30064    +2     
  Branches     3545     3545           
=======================================
+ Hits        28181    28183    +2     
  Misses       1881     1881           
Impacted Files Coverage Δ
packages/components/transfer/src/Transfer.tsx 100.00% <100.00%> (ø)
packages/components/transfer/src/types.ts 99.57% <100.00%> (+<0.01%) ⬆️
packages/pro/transfer/src/ProTransfer.tsx 98.98% <100.00%> (+<0.01%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us.

@danranVm danranVm merged commit 1abf7e9 into IDuxFE:main Aug 5, 2022
@sallerli1 sallerli1 deleted the feat-transfer-default-target-data-saller branch February 20, 2023 06:11
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.

None yet

2 participants