On github it says that the search box was now optional in the chosen select boxes. Does anyone know how to remove it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The current version of Chosen provides two methods to control the display of the search box. Both are passed in as options during initialization. To hide the search box completely pass in the option
"disable_search": true:Alternatively, if you want to show the search iff there are a certain number of options, use the option
"disable_search_threshold": numberOfOptions(wherenumberOfOptionsis the minimum number of options required before showing the search box):