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

发现了两个BUG,不知道是否个例 #2

Closed
roger2002 opened this issue Jul 6, 2017 · 3 comments
Closed

发现了两个BUG,不知道是否个例 #2

roger2002 opened this issue Jul 6, 2017 · 3 comments
Labels

Comments

@roger2002
Copy link

1.当option的value是中文的时候,dropdown无法正常的拉取键值,data-value的值全部为空
2.choice回调函数无效
望解疑

@Janking
Copy link
Owner

Janking commented Jul 6, 2017

@roger2002 谢谢你的使用,第一个问题是因为我的正则捕获value并不支持中文导致,我立马修复,第二个问题,能贴一下你的代码到jsfiddle或者codepen么?

@roger2002
Copy link
Author

程序有BUG,回调函数只在多选情况下触发,单选不会,可以修改源文件搜索singleChoose,在该函数的末尾加上 非压缩版本 : _config.choice.call(_dropdown, event); 压缩版本 : t.choice.call(n,o) 即可

@Janking
Copy link
Owner

Janking commented Jul 6, 2017

@roger2002 谢谢你反馈的问题,修复并更新,最新版本 version 1.1.4

@Janking Janking closed this as completed Jul 6, 2017
@Janking Janking added the bug label Jul 6, 2017
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

2 participants