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

2.0 Picker 选择器 希望能支持 默认选中;取值希望是value值,而不是default-index的每列下标 #255

Closed
jinbiaode opened this issue Dec 19, 2018 · 0 comments
Labels
@Components Components related feature New feature or request P1 Medium priority

Comments

@jinbiaode
Copy link

2.0.0 rc.3 版本
Picker 选择器 希望能支持 默认选中;取值希望是value值,而不是default-index的每列下标;
例如:
城市选择器,默认选中北京北京市丰台区该城市
:default-index="pickerDefaultIndex"
pickerDefaultIndex = [110000,110100,110107]
默认选中是北京北京市丰台区 ,目前不支持这种value值直接选中;
现在支持的是pickerDefaultIndex = [1,1,5] 每列的下标,希望能优化下

pickerDefaultIndex = [110000,110100,110107]
支持这种value值直接选中

现在支持的是pickerDefaultIndex = [1,1,5] 每列的下标

xxyan0205 added a commit that referenced this issue Dec 21, 2018
@xxyan0205 xxyan0205 added feature New feature or request @Components Components related P1 Medium priority labels Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@Components Components related feature New feature or request P1 Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants