新手问题 如何禁用下拉列表

nicetyler · 2017年05月23日 · 最后由 nicetyler 回复于 2017年05月24日 · 1314 次阅读

怎么在 collection_select 方法中添加属性 disable:disabled,貌似加不了

<%= f.collection_select :category1_id, Shop::Category.find(1).children.active, :id, :name, {:include_blank => ''}, :disabled => true %>
easonlovewan 回复

好的谢谢

4 楼 已删除
gehao 回复

上不了 google 啊,不过我按照你的关键字百度了一下

上不了 Google 是要减分的。

http://dir.scmor.com/google/

greatghoul 回复

非常感谢网址我收藏了,顺便给个赞你😁

你们公司居然不提供翻墙?

kai209209 回复

不提供啊😂 下次找公司找个能翻墙的公司,可以偷偷的浏览下国外的网站😁

需要 登录 后方可回复, 如果你还没有账号请 注册新账号