When Select2 widget is selected for the facet there is no way for the user to provide a custom label to the "-none-" option. There should be a text field to provide a custom label for the none option similar what has been given for the " Show reset link" in " List of link" widget.

Comments

adhariwal created an issue. See original summary.

chr.fritsch’s picture

Select2 provides a lot of options. I don't want to add the possibility to make all of them configurable.
But you can adjust every select2 setting over code like this:

$my_select2_form_element['#select2']['placeholder'] = 'My better placeholder';
adhariwal’s picture

Thanks, chr.fritsch. That solves the issue.

adhariwal’s picture

Issue summary: View changes
chr.fritsch’s picture

Category: Feature request » Support request
Status: Active » Fixed

You're welcome :)

Status: Fixed » Closed (fixed)

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