When creating the content widget is pre-selected with "FirstTerm", but should be when it is a required field.
It still should preselect , because now user may forget that he needs to select it consciously

Comments

PlayfulWolf’s picture

Ok, clarification: it is "First term" selected, but has to be "none", because in many occasions users will miss that and first term will go by default

PlayfulWolf’s picture

Priority: Major » Normal

changing priority to more appropriate

surtr’s picture

+1
Behavior I'm seeing described differently for devs' benefit:

Using an exposed SHS filter in a view, when marking the filter as "required", the SHS widget shows up with the first taxonomy term selected but does not show the second dropdown with the first term's children. Must select another value for the second dropdown to populate.

stBorchert’s picture

Status: Active » Needs review

I have committed some changes so the widget behaves more like the original term reference widget.

PlayfulWolf’s picture

Status: Needs review » Reviewed & tested by the community

everything works on dev version

stBorchert’s picture

Status: Reviewed & tested by the community » Fixed

Good to hear. "Fixed" then ...

Status: Fixed » Closed (fixed)

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

oenie’s picture

Status: Closed (fixed) » Needs work

This all seems to work fine as a field, but the same issue still stands when being used as a filter in views

oenie’s picture

Issue tags: +#1949624

After more checking, it seems this has been reintroduced by #1945446: Support entityreference field type.

oenie’s picture

Removed tag

svouthi’s picture

I am using SHS widgets as required exposed filters in two views. One of these is three levels deep, and all three fields prepopulate. Oddly, the first and second fields autoselect the second terms of their levels while the third field preselects the first term. I tried clearing all my caches in case a past selection wasn't being ignored, but this still occurs reliably. The SHS widget in my other view preselects the first term as others have mentioned. Another difference is that the first view, with all three levels prepopulated, displays the results for that selection, whereas the second view with one level prepopulated shows no results.

It would be great to see the same selection behavior as in 7.x-1.6, as I am using SHS as a menu to show only content which is relevant to the user (rather than everything at once.) I installed 7.x-1.x-dev so that I would be able to use JS callback handler module, and I love the fast action, but now my site is broken! :)

svouthi’s picture

Thank you for the commits, stBorchert. I applied them and initially all my fields were prepopulating yet. However, after removing my SHS exposed filters in my views and then adding them again, they function normally. Thanks again.

stBorchert’s picture

Status: Needs work » Fixed

From the last comment I would guess this is fixed ...

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

YesCT’s picture

Issue summary: View changes
Issue tags: -#1949624

Removing tag. See guideline: Do NOT use tags for adding random keywords or duplicating any other fields.