I entered in the CSS identifier for my elements as follows:

.ctools-auto-submit-full-form #edit-cat
.ctools-auto-submit-full-form #edit-country
.ctools-auto-submit-full-form #edit-state

it successfully removed chosen from all the other select elements on my site, but it won't apply to the ones I've identified. I'm assuming that the CSS identifier would work the same way as the jQuery selector (but I don't think you should assume the average site administrator knows how to find a jQuery selector).

A useful description (and example) in for this setting might be helpful. Are we supposed to enter a comma-separated list of selectors, or one on each line? The description text should also example that is more similar to something people actually want to use. It is very doubtful the average site administrator is going to form-alter each form they want a chosen on to add a class to their select elements.

Comments

ermannob’s picture

Hi,
me too I "crashed" into this issue. I found the solution here: http://api.jquery.com/multiple-selector/
If you need multiple selectors, you have to separate them with commas.

-ermannob

jeff h’s picture

What I didn't realise is that it seems you have to choose "always apply" for the selectors to take effect.

shadcn’s picture

Status: Active » Fixed

Fixed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

remove commas as per first atempt