Skip to content

Commit

Permalink
fix(transfer): target-filter-placeholder prop doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
kungege committed Nov 25, 2024
1 parent 0c921f4 commit 12f6d95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Fix `n-time-picker`'s `use-12-hours` type error warning, closes [#4308](https://github.com/tusen-ai/naive-ui/issues/4308)
- Fix `input-number` the problem that the negative sign is replaced when the negative sign is entered
- Fix `n-data-table`'s header will show scrollbar in some old browsers, closes [#6557](https://github.com/tusen-ai/naive-ui/issues/6557).
- Fix `n-transfer`'s `target-filter-placeholder` prop not working, closes [#6537](https://github.com/tusen-ai/naive-ui/issues/6537)

### Features

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- `n-time-picker``use-12-hours` 类型错误警告,关闭 [#4308](https://github.com/tusen-ai/naive-ui/issues/4308)
- 修复 `input-number` 存在负号时被替换的问题
- 修复 `n-data-table` 的 header 在部分浏览器中会出现滚动条,关闭 [#6557](https://github.com/tusen-ai/naive-ui/issues/6557)
- 修复 `n-transfer``target-filter-placeholder` 属性不生效,关闭 [#6537](https://github.com/tusen-ai/naive-ui/issues/6537)

### Features

Expand Down
2 changes: 1 addition & 1 deletion src/transfer/src/Transfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export default defineComponent({
onUpdateValue={this.handleTgtFilterUpdateValue}
value={this.tgtPattern}
disabled={this.mergedDisabled}
placeholder={this.sourceFilterPlaceholder}
placeholder={this.targetFilterPlaceholder}
/>
) : null}
<div class={`${mergedClsPrefix}-transfer-list-flex-container`}>
Expand Down

0 comments on commit 12f6d95

Please sign in to comment.