diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 74daffee2d1..9b3f7fafda7 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,15 @@ # CHANGELOG +## NEXT_VERSION + +`xxxx-xx-xx` + +### Fixes + +- Fix `n-transfer`'s `target-filter-placeholder` prop not working, closes [#6537](https://github.com/tusen-ai/naive-ui/issues/6537). + +### Features + ## 2.40.2 `2024-11-26` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 6cf9772ae01..d9fd343e0c3 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,15 @@ # CHANGELOG +## NEXT_VERSION + +`xxxx-xx-xx` + +### Fixes + +- 修复 `n-transfer` 的 `target-filter-placeholder` 属性不生效,关闭 [#6537](https://github.com/tusen-ai/naive-ui/issues/6537) + +### Features + ## 2.40.2 `2024-11-26` diff --git a/src/transfer/src/Transfer.tsx b/src/transfer/src/Transfer.tsx index c381a74bc19..442551d4f8b 100644 --- a/src/transfer/src/Transfer.tsx +++ b/src/transfer/src/Transfer.tsx @@ -370,7 +370,7 @@ export default defineComponent({ onUpdateValue={this.handleTgtFilterUpdateValue} value={this.tgtPattern} disabled={this.mergedDisabled} - placeholder={this.sourceFilterPlaceholder} + placeholder={this.targetFilterPlaceholder} /> ) : null}