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

[comp:select] 配置了 labelKey 之后无法正常过滤筛选 #750

Closed
1 task done
Jouryjc opened this issue Feb 11, 2022 · 3 comments
Closed
1 task done

[comp:select] 配置了 labelKey 之后无法正常过滤筛选 #750

Jouryjc opened this issue Feb 11, 2022 · 3 comments

Comments

@Jouryjc
Copy link
Contributor

Jouryjc commented Feb 11, 2022

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

Reproduction link

https://codesandbox.io/s/smoosh-bush-qyc9d?file=/src/Demo.vue

Steps to reproduce

  1. 配置 select 的 valueKey、labelKey 和 searchable
<IxSelect
      v-model:value="value"
      :options="options"
      :searchable="searchableValue"
      placeholder="Searchable"
      labelKey="name"
      valueKey="id"
      @change="onChange"
    >
  1. 输入框内输入搜索

What is expected?

能够正常过滤

What is actually happening?

不能正常过滤

Environment Info

 Browsers:
    Chrome: 98.0.4758.82
    Edge: Spartan (44.17763.831.0)
    Internet Explorer: 11.0.17763.771
  npmPackages:
    vue: ^3.2.6 => 3.2.30
@idux-bot
Copy link

idux-bot bot commented Feb 11, 2022

Translation of this issue:

[COMP: SELECT] After configuring labelkey, filtering filter screening

  • i Have Searched The [https://github.com/iduxfe/idux/issues) of this repository and believe That this is not a duplicate.

reproduction link

https://codesandbox.io/s/smoosh-bush-qyc9d?file=/src/demo.vue

steps to reproduce

  1. Configure the ValueKey, LabelKey and Searchable of SELECT.
<IxSelect
      v-model:value="value"
      :options="options"
      :searchable="searchableValue"
      placeholder="Searchable"
      labelKey="name"
      valueKey="id"
      @change="onChange"
    >
  1. Enter the search in the input box

What is expected?

Ability to filter

What is actually happens?

Don't filter properly

Environment Info

 Browsers:
    Chrome: 98.0.4758.82
    Edge: Spartan (44.17763.831.0)
    Internet Explorer: 11.0.17763.771
  npmPackages:
    vue: ^3.2.6 => 3.2.30

Jouryjc added a commit to Jouryjc/idux that referenced this issue Feb 11, 2022
Jouryjc added a commit to Jouryjc/idux that referenced this issue Feb 11, 2022
Jouryjc added a commit to Jouryjc/idux that referenced this issue Feb 13, 2022
@danranVm danranVm reopened this Apr 28, 2022
@danranVm
Copy link
Member

tree 也有这种情况

@danranVm
Copy link
Member

closed #869

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

No branches or pull requests

2 participants