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在searchable模式下,初始值value不会勾选 #667

Closed
Javey opened this issue Sep 2, 2021 · 0 comments
Closed

Select在searchable模式下,初始值value不会勾选 #667

Javey opened this issue Sep 2, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Javey
Copy link
Member

Javey commented Sep 2, 2021

CodeSandbox

https://codesandbox.io/s/lucid-villani-5ndev?file=/src/index.vue
Description
目前可以这样做来规避

class MySelect extends Select {
  _init() {
    this.set("_checkedKeys", this.get("value") || []);
    super._init();
  }
}
@Javey Javey added the bug Something isn't working label Sep 2, 2021
@Javey Javey closed this as completed May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant