chosen with bootstrap 3 not working properly

后端 未结 6 727
醉话见心
醉话见心 2020-12-08 04:19

I have this code which triggers a bootstrap modal and load its content via $.load(). the page I\'m loading has a select element which I\'m calling chosen on. He

6条回答
  •  清歌不尽
    2020-12-08 04:59

    Try this, I digged in chosen and found out that just need to pass options with "width" property like in this, or any other width value:

    $("select").chosen({width: "inherit"}) 
    

提交回复
热议问题