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

form_dropdown #22

Open
qiqicom opened this issue Aug 28, 2014 · 1 comment
Open

form_dropdown #22

qiqicom opened this issue Aug 28, 2014 · 1 comment

Comments

@qiqicom
Copy link

qiqicom commented Aug 28, 2014

如果需要默认被选中的值是很长的一个数字串的时候如:10011001100110011001.选择的值就不准确了.需要将form_dropdown函数中的这个in_array($key, $selected)改为in_array($key, $selected,true)

@hex-ci
Copy link
Member

hex-ci commented Aug 29, 2014

这个时候应该用字符串吧?用数字肯定会有问题呀。

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

No branches or pull requests

2 participants