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

[新功能需求] Picker 选择器支持defaultValue #333

Closed
LetFree opened this issue May 23, 2024 · 3 comments
Closed

[新功能需求] Picker 选择器支持defaultValue #333

LetFree opened this issue May 23, 2024 · 3 comments
Labels
feature: need confirm 待确认的新特性

Comments

@LetFree
Copy link

LetFree commented May 23, 2024

这个功能解决了什么问题?

picker选择器如果数量过多,且最常用值位于中间时,用户体验很不好,希望可以支持支持选中defaultValue默认值功能

你期望的 API 是什么样子的?

<wd-picker defaultValue="2" :columns="columns" label="单列选项" v-model="value" @confirm="handleConfirm" />
@LetFree LetFree added the feature: need confirm 待确认的新特性 label May 23, 2024
@jasper-ops
Copy link
Collaborator

你给value设置一个默认值不就是defaultValue吗

@jasper-ops
Copy link
Collaborator

不计划加入defaultValue属性,其他组件的defaultValue属性也计划移除

Copy link

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature: need confirm 待确认的新特性
Projects
None yet
Development

No branches or pull requests

2 participants