Follow up from #2864523: Exposing filters on webform required fields and entity selects.

Namely: drop-downs of taxonomy terms (which are not required) do not get an '- select -' or 'Any' type option as you would normally expect in such cases.

Comments

bucefal91 created an issue. See original summary.

bucefal91’s picture

Status: Active » Needs review
StatusFileSize
new2.11 KB

Here's a patch. Right now it applies to "select" webform element type. Stella, I saw you were using "webform_entity_select" element type (at least I infer that from the fact that you were using dropdowns for taxonomy terms).

It should be a rather simple job of expanding the existing select machinery onto this new select-derivative.

  • bucefal91 committed c49b0e6 on 8.x-5.x
    Issue #2872172 by stella, bucefal91: Adding 'all' option to exposed...
bucefal91’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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

alit’s picture

Hi guys, thanks for a nice module.

The attached patch adds missing empty option to the common filter "webform_submission_field_filter" that is used for term references.