⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

remove chosen in select



Maicol Ortiz Tello

Maicol Ortiz Tello
  • profile picture
  • Member

Posted 03 July 2014 - 06:00 AM

Hello there! everyone .. I wanted to know if you can remove the style to the select box, ie leave it as native html without plugins implement the "Chosen". 
is it possible?

 


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 03 July 2014 - 13:51 PM

it is quite possible...

well what you can do is.. in the GC library .. u can just comment the code in within the load_js_chosen() function..

that will stop it loading chosen js / css

 

hope that much works out for you..

else .. there are api calls with which you can detatch the chosen plugin from a select .. for that you need add your custom script.

 

Happy GCing:)


Maicol Ortiz Tello

Maicol Ortiz Tello
  • profile picture
  • Member

Posted 03 July 2014 - 18:58 PM

works perfectly thank you very much! Amit Shah. :) 


SysMora

SysMora
  • profile picture
  • Member

Posted 14 November 2019 - 10:50 AM

I had a similar Problem with chosen and android on a Huawei - Tablet. 

After I comment the Code in Grochery_CRUD.php the Save Button on the add an edit Form does not function.

I had to comment the line 

 //  $(".chosen-select,.chosen-multiple-select").chosen({allow_single_deselect:true});   

in the jquery.chosen.config.js

and now the select on Tablet ist ok.  :)