Skip to main content
Commonmark migration
Source Link

When I create a view (block) and create an exposed filter I have the choice of a Filter type to expose between

  • Single filter and
  • Grouped filters

enter image description here

If I choose the Grouped filters I am presented with an option to chose the Widget type

  • Radios or
  • Select

enter image description here

But if I chose the default Filter type the form lacks the Widget type option.

I cannot think of any reason why the regular exposed filters shouldn't have this widget type option to chose from.

Can anyone tell me ...

  • Is there a reason for this?
  • Is there any patch that I didn't find until now that fixes this/add's the feature?

FYI:

##FYI: ThereThere is a hard coded switch in the Drupal core which automatically changes the widget type from checkboxes/radios to select based on the number of options regardless of the Widget type settings in the views form (1-4 options: radios, 5+: select). That issue is patched here: Grouped exposed filter with "Allow multiple selections" ignores widget setting

Edit

#Edit II don't want the alpha version of Better Exposed Filters module like suggested by some.

When I create a view (block) and create an exposed filter I have the choice of a Filter type to expose between

  • Single filter and
  • Grouped filters

enter image description here

If I choose the Grouped filters I am presented with an option to chose the Widget type

  • Radios or
  • Select

enter image description here

But if I chose the default Filter type the form lacks the Widget type option.

I cannot think of any reason why the regular exposed filters shouldn't have this widget type option to chose from.

Can anyone tell me ...

  • Is there a reason for this?
  • Is there any patch that I didn't find until now that fixes this/add's the feature?

##FYI: There is a hard coded switch in the Drupal core which automatically changes the widget type from checkboxes/radios to select based on the number of options regardless of the Widget type settings in the views form (1-4 options: radios, 5+: select). That issue is patched here: Grouped exposed filter with "Allow multiple selections" ignores widget setting

#Edit I don't want the alpha version of Better Exposed Filters module like suggested by some.

When I create a view (block) and create an exposed filter I have the choice of a Filter type to expose between

  • Single filter and
  • Grouped filters

enter image description here

If I choose the Grouped filters I am presented with an option to chose the Widget type

  • Radios or
  • Select

enter image description here

But if I chose the default Filter type the form lacks the Widget type option.

I cannot think of any reason why the regular exposed filters shouldn't have this widget type option to chose from.

Can anyone tell me ...

  • Is there a reason for this?
  • Is there any patch that I didn't find until now that fixes this/add's the feature?

FYI:

There is a hard coded switch in the Drupal core which automatically changes the widget type from checkboxes/radios to select based on the number of options regardless of the Widget type settings in the views form (1-4 options: radios, 5+: select). That issue is patched here: Grouped exposed filter with "Allow multiple selections" ignores widget setting

Edit

I don't want the alpha version of Better Exposed Filters module like suggested by some.

Notice removed Draw attention by yunzen
Bounty Ended with Stefanos Petrakis's answer chosen by yunzen
added 96 characters in body
Source Link
yunzen
  • 355
  • 1
  • 6
  • 20

When I create a view (block) and create an exposed filter I have the choice of a Filter type to expose between

  • Single filter and
  • Grouped filters

enter image description here

If I choose the Grouped filters I am presented with an option to chose the Widget type

  • Radios or
  • Select

enter image description here

But if I chose the default Filter type the form lacks the Widget type option.

I cannot think of any reason why the regular exposed filters shouldn't have this widget type option to chose from.

Can anyone tell me ...

  • Is there a reason for this?
  • Is there any patch that I didn't find until now that fixes this/add's the feature?

##FYI: There is a hard coded switch in the Drupal core which automatically changes the widget type from checkboxes/radios to select based on the number of options regardless of the Widget type settings in the views form (1-4 options: radios, 5+: select). That issue is patched here: Grouped exposed filter with "Allow multiple selections" ignores widget setting

#Edit I don't want the alpha version of Better Exposed Filters module like suggested by some.

When I create a view (block) and create an exposed filter I have the choice of a Filter type to expose between

  • Single filter and
  • Grouped filters

enter image description here

If I choose the Grouped filters I am presented with an option to chose the Widget type

  • Radios or
  • Select

enter image description here

But if I chose the default Filter type the form lacks the Widget type option.

I cannot think of any reason why the regular exposed filters shouldn't have this widget type option to chose from.

Can anyone tell me ...

  • Is there a reason for this?
  • Is there any patch that I didn't find until now that fixes this/add's the feature?

##FYI: There is a hard coded switch in the Drupal core which automatically changes the widget type from checkboxes/radios to select based on the number of options regardless of the Widget type settings in the views form (1-4 options: radios, 5+: select). That issue is patched here: Grouped exposed filter with "Allow multiple selections" ignores widget setting

When I create a view (block) and create an exposed filter I have the choice of a Filter type to expose between

  • Single filter and
  • Grouped filters

enter image description here

If I choose the Grouped filters I am presented with an option to chose the Widget type

  • Radios or
  • Select

enter image description here

But if I chose the default Filter type the form lacks the Widget type option.

I cannot think of any reason why the regular exposed filters shouldn't have this widget type option to chose from.

Can anyone tell me ...

  • Is there a reason for this?
  • Is there any patch that I didn't find until now that fixes this/add's the feature?

##FYI: There is a hard coded switch in the Drupal core which automatically changes the widget type from checkboxes/radios to select based on the number of options regardless of the Widget type settings in the views form (1-4 options: radios, 5+: select). That issue is patched here: Grouped exposed filter with "Allow multiple selections" ignores widget setting

#Edit I don't want the alpha version of Better Exposed Filters module like suggested by some.

removed tags from the title
Link
avpaderno
  • 98.1k
  • 15
  • 165
  • 284

Why can I choose the widget for views grouped filters, but not exposed?

Notice added Draw attention by yunzen
Bounty Started worth 50 reputation by yunzen
Source Link
yunzen
  • 355
  • 1
  • 6
  • 20
Loading