websemantics / Image-Select

Image Select is an extension of Chosen, a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. It provides image support for Single and Multi select HTML tags.
http://websemantics.github.io/Image-Select
MIT License
148 stars 44 forks source link

Issues when chosen is disabled (mobile) #33

Closed junkystu closed 7 years ago

junkystu commented 7 years ago

According to this issue, chosen is disabled on mobiles however, the image select plugin is throwing an error when this is the case:

Uncaught TypeError: Cannot read property 'form_field' of undefined  ImageSelect.jquery.js:82

This can also be tested using the Chrome dev tools with the device toobar.

erational commented 7 years ago

This fix #36 works fine for me.

websemantics commented 7 years ago

Just going through issues trying to close them, .. is this still an issue? include code and will have a look, ..

junkystu commented 7 years ago

Sorry, I no longer have means of testing this but it's a quick one: use the plugin with Chosen and then emulate any mobile device using the dev tools.

websemantics commented 7 years ago

I'll try the description you provided, thanks for that,