Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When adding node content, taxonomy dropdown wont drop down lower than first parent item. It wont allow typing to autoselect terms either. It will allow me to scroll my mouse down but I cant see what I am highlighting. See photo files atached.
On the edit field page, it works perfect. It shows the full drop down with grouped terms when asking me to assign parent terms or default terms, etc.
Comment | File | Size | Author |
---|---|---|---|
#10 | chosen.zip | 7.92 KB | shadcn |
chosen2.jpg | 25.66 KB | IWasBornToWin | |
chosen1.jpg | 25.99 KB | IWasBornToWin |
Comments
Comment #1
IWasBornToWin CreditAttribution: IWasBornToWin commentedAny one else hanging this challenge?
Comment #2
IWasBornToWin CreditAttribution: IWasBornToWin commentedAbout the "not allowing to autoselct terms" in my first post--It appears, since this list has parents, that by typing in a term it wont come up because all terms are childs and therefore are prefaced with a hyphen, ie;
Sports
-golf
-basketball
-football
When trying to search "golf" the dropdown doesn't see it, unless i type "-golf"
Comment #3
IWasBornToWin CreditAttribution: IWasBornToWin commentedAny help?
Comment #4
IWasBornToWin CreditAttribution: IWasBornToWin commentedwill changing this to critical help?
Comment #5
IWasBornToWin CreditAttribution: IWasBornToWin commented<select multiple="multiple" name="field_taxonomy_listings[und][]" id="edit-field-taxonomy-listings-und" class="form-select chzn-done" style="width: 291px; display: none; "><option value="_none">- None -</option></optgroup></select>
on second line "display:none"
This looks to me like it is telling the drop down to display "none" is that why it's not dropping down, if so, how can i fix it?
Comment #6
IWasBornToWin CreditAttribution: IWasBornToWin commentedI think I've narrowed it down to taxonomy term problems. The drop down works for everything else except taxonomy terms. Of course, by the time I get any help I may be able to go to school, learn css and jquery, and then write me own code :) Sorry for the sarcasm but it doesn't look like the maintainer replies to any of the other issues much either.
Comment #7
IWasBornToWin CreditAttribution: IWasBornToWin commentedAny help?
Comment #8
IWasBornToWin CreditAttribution: IWasBornToWin commentedWonder if it has something to do with "title" fields of taxonomy and node, clashing? See this comment;
Title field clash
Comment #9
shadcn CreditAttribution: shadcn commented#2 should be the cause of this. looking into the chosen plugin code to see if we can fix this.
Comment #10
shadcn CreditAttribution: shadcn commentedCan you try with the attached files below?
Comment #11
IWasBornToWin CreditAttribution: IWasBornToWin commentedI did both, no change. I'm pretty sure it's got something to do with node title vs. taxonomy title, because it works (even with taxonomy) everywhere else except nodes.
Comment #12
kmare CreditAttribution: kmare commentedI'm actually having the same problem with part of the search list hiding. I solved it with a css rule where I added
to the content where the chosen select widget is applied. Previously, this content had the overflow attribute set to hidden. So setting it to visible is mainly a workaround, as it shouldn't behave this way, I guess. (The select list without chosen, works properly).
Anyway, I also wanted to thank the developers behind this great and really useful module for their awesome work! It's truly much appreciated.
PS: it looks like it's related to this issue: https://github.com/harvesthq/chosen/issues/355
so it's more a problem with the chosen jquery plugin rather than the module itself.
Comment #13
shadcn CreditAttribution: shadcn commentedComment #14
IWasBornToWin CreditAttribution: IWasBornToWin commentedThis really isn't the case--chosen works fine with entity reference module when referring to taxonomy with muliple levels. It's a node title field name issue between field node title and taxonomy title. Changing title back.
Comment #15
shadcn CreditAttribution: shadcn commentedThis is now fixed.