Hi All,

I have just found a bug which is easily resolved in that if you are using Chosen with Conditional fields and the field upon page load is hidden until another field is set to a value which displays it, the autocomplete is completely unusable as it is 1px wide. I tested this with firebug and can confirm if the .chosen-container class is set to a min width then all is good. I assume Chosen is trying to set the width as 100% of its parent but due to it being hidden that is why it displays as 1px. If I then try to save the form causing it to validate without data in the field then the chosen field is usable. My work around for this was to add the following to the .chosen-container class in the chosen-drupal.css file:

min-width: 100%;

Hope that helps someone else

Thanks

Comments

GAMe created an issue.