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

select组件的autoClearSearchValue=false不生效bug #7577

Closed
1 task
havenothingtosay opened this issue May 14, 2024 · 1 comment
Closed
1 task

select组件的autoClearSearchValue=false不生效bug #7577

havenothingtosay opened this issue May 14, 2024 · 1 comment
Labels

Comments

@havenothingtosay
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.8

Environment

vue3.2.45

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<a-select
    v-model:value="val"
    mode="multiple"
    :auto-clear-search-value="false"
/>

代码中绑定的val如果是ref([]),或者是reactive({val: []})中的深层属性,则配置的autoClearSearchValue=false不会生效,搜索值还是会被清空。
如果不用ref,或者是reactive([])直接定义,则可以正常使用

What is expected?

ref()定义变量值时,能正常保留搜索值

What is actually happening?

ref()定义变量值时,不能正常保留搜索值

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

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

No branches or pull requests

1 participant